Skip to content
Myr

options_no_pprof.go

This file

Path

src/options_no_pprof.go

13 lines · 332 bytes · Go

Last changed by

Not known.

History of this file

Take it

1//go:build !pprof2// +build !pprof34package fzf56import "errors"78func (o *Options) initProfiling() error {9	if o.CPUProfile != "" || o.MEMProfile != "" || o.BlockProfile != "" || o.MutexProfile != "" {10		return errors.New("error: profiling not supported: FZF must be built with '-tags=pprof' to enable profiling")11	}12	return nil13}