mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-28 15:56:27 +00:00
14 lines
332 B
Go
14 lines
332 B
Go
//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
|
|
}
|