diff --git a/src/runtime/pprof/proto_test.go b/src/runtime/pprof/proto_test.go index 9efcaeafe0..baa23e9330 100644 --- a/src/runtime/pprof/proto_test.go +++ b/src/runtime/pprof/proto_test.go @@ -238,6 +238,7 @@ func TestProcSelfMaps(t *testing.T) { // that the runtime can't symbolize. See ./testdata/mappingtest. func TestMapping(t *testing.T) { testenv.MustHaveGoRun(t) + testenv.MustHaveCGO(t) prog := "./testdata/mappingtest"