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>
This commit is contained in:
xgopilot
2025-11-16 09:16:36 +00:00
parent 9b71b3f2dc
commit 04ef1b0767

View File

@@ -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")