aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/pprof/proto_test.go1
1 files changed, 1 insertions, 0 deletions
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"