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:
@@ -57,7 +57,6 @@ func genMainModule(ctx *context, rtPkgPath string, pkg *packages.Package, needRu
|
|||||||
}
|
}
|
||||||
|
|
||||||
runtimeStub := defineWeakNoArgStub(mainPkg, "runtime.init")
|
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
|
// Define syscall.init as a weak stub to allow linking even when syscall package is not imported
|
||||||
defineWeakNoArgStub(mainPkg, "syscall.init")
|
defineWeakNoArgStub(mainPkg, "syscall.init")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user