-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go: don't print dynimport link error messages
When using the -x or -n option, we were printing the external linker error messages from producing the dynimport file. This was confusing because those linker errors are unimportant and ignored; only the linker exit status matters, and failure doesn't drop the build. Change cmd/go -x to not print the error messages, and to instead print the linker command line with a notation of whether the link succeeded or failed. Fixes #68743 Change-Id: Ie3cc58d2d6a7d33d7baa6f1273b4fb5a7deee7e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/615916 Reviewed-by: Michael Matloob <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information
1 parent
712d47c
commit 3587430
Showing
2 changed files
with
28 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters