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

The walk stopped after 200 commits: lines older than 76efddd point at it.

bash: shift-delete to delete history entries during CTRL-RJunegunn Choibefore adoption76efddd

lines 1–13why, one step back
1//go:build !pprof
2// +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}