From 04ef1b07675c281c0743ccecc4406dab2b03eadf Mon Sep 17 00:00:00 2001 From: xgopilot Date: Sun, 16 Nov 2025 09:16:36 +0000 Subject: [PATCH] build: remove incorrect TODO comment Remove TODO(lijie) comment as requested - the syscall.init weak stub is intentional. Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: cpunion <8459+cpunion@users.noreply.github.com> --- internal/build/main_module.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/build/main_module.go b/internal/build/main_module.go index 386a9873..e9090cd1 100644 --- a/internal/build/main_module.go +++ b/internal/build/main_module.go @@ -57,7 +57,6 @@ func genMainModule(ctx *context, rtPkgPath string, pkg *packages.Package, needRu } runtimeStub := defineWeakNoArgStub(mainPkg, "runtime.init") - // TODO(lijie): workaround for syscall patch // Define syscall.init as a weak stub to allow linking even when syscall package is not imported defineWeakNoArgStub(mainPkg, "syscall.init")