From f42d8b3056b611c523ff51c15fad008b6b2138ac Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Fri, 10 Mar 2023 21:05:27 -0800 Subject: [PATCH] debug: stub SetGCPercent() --- src/runtime/debug/debug.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/runtime/debug/debug.go b/src/runtime/debug/debug.go index 3bbbf71a..fe3650cb 100644 --- a/src/runtime/debug/debug.go +++ b/src/runtime/debug/debug.go @@ -45,3 +45,8 @@ type Module struct { Sum string // checksum Replace *Module // replaced by this module } + +// Not implemented. +func SetGCPercent(n int) int { + return n +}