blob: 1093fc1072c144b755da1546f5e6c3e637b8dc89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//go:build !pprof
// +build !pprof
package fzf
import "errors"
func (o *Options) initProfiling() error {
if o.CPUProfile != "" || o.MEMProfile != "" || o.BlockProfile != "" || o.MutexProfile != "" {
return errors.New("error: profiling not supported: FZF must be built with '-tags=pprof' to enable profiling")
}
return nil
}
|