mirror of https://github.com/junegunn/fzf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
307 B
Go
12 lines
307 B
Go
//go:build !pprof
|
|
// +build !pprof
|
|
|
|
package fzf
|
|
|
|
func (o *Options) initProfiling() error {
|
|
if o.CPUProfile != "" || o.MEMProfile != "" || o.BlockProfile != "" || o.MutexProfile != "" {
|
|
errorExit("error: profiling not supported: FZF must be built with '-tags=pprof' to enable profiling")
|
|
}
|
|
return nil
|
|
}
|