]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: exit if runtime.a is missing
authorCherry Mui <cherryyz@google.com>
Thu, 10 Nov 2022 22:17:54 +0000 (17:17 -0500)
committerCherry Mui <cherryyz@google.com>
Fri, 11 Nov 2022 14:51:14 +0000 (14:51 +0000)
commitfffda6b3adfb4d05290c58939a78a99643398ff1
tree4ee207db6385ec8ef1bc62ed3fbe4f91d0d67fae
parent73f987c88b348772ca2efa8d5b3d0ac61cbdb563
cmd/link: exit if runtime.a is missing

Many stages in the linker assume some runtime symbols exist.
Error out if the runtime package cannot be found.

Fixes #56685.

Change-Id: I39b2663f6d7419688e30e6d8650e5eb8fc43a2b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/449638
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go