-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Upgrade from go version 1.19 to 1.20 Type of change: /kind cleanup Test Plan: `bazel test //...` Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
- Loading branch information
Showing
8 changed files
with
33 additions
and
24 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
diff --git a/go/private/actions/stdlib.bzl b/go/private/actions/stdlib.bzl | ||
index 03acd304..78995d1b 100644 | ||
index 11a8278f..7346aecd 100644 | ||
--- a/go/private/actions/stdlib.bzl | ||
+++ b/go/private/actions/stdlib.bzl | ||
@@ -92,7 +92,7 @@ def _build_stdlib(go): | ||
@@ -92,7 +92,8 @@ def _build_stdlib(go): | ||
ldflags = [ | ||
option | ||
for option in extldflags_from_cc_toolchain(go) | ||
- if option not in ("-lstdc++", "-lc++") | ||
+ if option not in ("-lstdc++", "-lc++", "-l:libstdc++.a", "-l:libc++.a", "-l:libc++abi.a") | ||
+ if option not in ("-lstdc++", "-lc++", "-l:libstdc++.a", "-l:libc++.a", "-l:libc++abi.a") and | ||
+ not (option.startswith("-fsanitize") or option.startswith("-fno-sanitize")) | ||
] | ||
env.update({ | ||
"CGO_ENABLED": "1", |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
DOCKER_IMAGE_TAG=202301281936 | ||
DOCKER_IMAGE_TAG=202302021647 |
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
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