-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
upstreamthis is caused by an upstream issuethis is caused by an upstream issue
Description
I'm seeing this error:
home/dhash/.cache/bazel/_bazel_dhash/d01f478a72a2d3121d654f978507dcd9/external/crate_index__async-trait-0.1.71/BUILD.bazel:22:16: Compiling Rust proc-macro async_trait v0.1.71
<snip>
error: linking with `external/zig_sdk/tools/x86_64-linux-gnu.2.28/c++` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/radix/rbe/worker/build/27ac6bc9a01363d5/root/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/rust_linux_x86_64__x86_64-unknown-linux-gnu__stable_tools/rust_toolchain/lib/rustlib/x86_64-unknown-linux-gnu/bin" VSLANG="1033" "external/zig_sdk/tools/x86_64-linux-gnu.2.28/c++" "-Wl,--version-script=/tmp/rustcHJc8ST/list" "-Wl,--no-undefined-version"
<snip>
= note: error: unsupported linker arg: --no-undefined-version
which is present due to, as far as I can tell, that flag being flipped on by rust in that release by default. It's only for proc-macros, and as a first pass solution i've put in ziglang/zig#17326. If there's a better way to do this, that would be cool.
scanterog, nguyening, goniz and pepyakin
Metadata
Metadata
Assignees
Labels
upstreamthis is caused by an upstream issuethis is caused by an upstream issue