mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
Specifically, build using bazel WORKSPACE. Bazel modules is still not used and requires further migration. This updates some dependencies to make them compatible with Bazel 8, which in turn requires explicitly adding some new dependencies to support new versions. In some cases existing patches no longer applied and had to be updated. A new patch was added to remove windows toolchains from coral-crosstools, because that functionality requires lots of bazel intrinsics that are no longer defined. At least on my machine, when //vdso:vdso was a dependency (not targetted explicitly), the Gold linker specified in `vdso_linker_option` failed to be found (bazel build //vdso worked); however this led me to discover that the Gold linker is deprecated, hence using it is removed entirely. To make the repo compatible with bazelisk out of the box, a bazelversion file has been added.
15 lines
552 B
Diff
15 lines
552 B
Diff
diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
|
|
index 12dd1cc5..dcb4eb63 100644
|
|
--- a/go/private/rules/test.bzl
|
|
+++ b/go/private/rules/test.bzl
|
|
@@ -150,9 +150,6 @@ def _go_test_impl(ctx):
|
|
)
|
|
|
|
test_gc_linkopts = gc_linkopts(ctx)
|
|
- if not go.mode.debug and go.mode.strip:
|
|
- # Disable symbol table and DWARF generation for test binaries.
|
|
- test_gc_linkopts.extend(["-s", "-w"])
|
|
|
|
# Link in the run_dir global for bzltestutil.
|
|
# We add "+initfirst/" to the package path so the package is initialized
|