-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local remote toolchains don't work with rules_rust #477
Comments
This might be related to the issues I've been seeing with running on osx rbe https://gist.github.com/adam-singer/454091259e457f9db22a1555491afee1 From what I observe Looking back at the linker issue from https://gist.github.com/adam-singer/454091259e457f9db22a1555491afee1
Which seems to indicate that the process-wrapper or underlying I think what is happening is the way the process-wrapper passes |
Potentially relevant is that the latest release from a few hours ago included changes to sysroot. https://github.com/bazelbuild/rules_rust/releases/tag/0.33.0 The darwin issue seems indeed very similar to the issues on linux. Enabling the |
Filed a ticket with rules_rust bazelbuild/rules_rust#2331, maybe there is an existing work around, otherwise we can complete the patch. Hooking the ld lib path usually isn't ideal, rules_rust has so many flags and settings, wasn't sure would be the right one to flip. |
This commit changes the default C++ toolchain to the custom nix-backed clang toolchain. - Update custom stdenv to use Clang/LLVM 18 - Regenerate LRE toolchains. - Remove obsolete zig_cc toolchain - Expand LRE CI to build C++ parts of NativeLink remotely in K8s and the rest of rules_rust locally. Fixes TraceMachina#694 Closes TraceMachina#477
This commit changes the default C++ toolchain to the custom nix-backed clang toolchain. - Update custom stdenv to use Clang/LLVM 18 - Regenerate LRE toolchains. - Remove obsolete zig_cc toolchain - Expand LRE CI to build C++ parts of NativeLink remotely in K8s and the rest of rules_rust locally. Fixes TraceMachina#694 Closes TraceMachina#477
This commit changes the default C++ toolchain to the custom nix-backed clang toolchain. - Update custom stdenv to use Clang/LLVM 18 - Regenerate LRE toolchains. - Remove obsolete zig_cc toolchain - Expand LRE CI to build C++ parts of NativeLink remotely in K8s and the rest of rules_rust locally. Fixes TraceMachina#694 Closes TraceMachina#477
This commit changes the default C++ toolchain to the custom nix-backed clang toolchain. - Update custom stdenv to use Clang/LLVM 18 - Regenerate LRE toolchains. - Remove obsolete zig_cc toolchain - Expand LRE CI to build C++ parts of NativeLink remotely in K8s and the rest of rules_rust locally. Fixes TraceMachina#694 Closes TraceMachina#477
This commit changes the default C++ toolchain to the custom nix-backed clang toolchain. The LRE workflows now build the C++ parts of NativeLink remotely in K8s and the Rust parts locally. Closes TraceMachina#477
This commit changes the default C++ toolchain to the custom nix-backed clang toolchain. The LRE workflows now build the C++ parts of NativeLink remotely in K8s and the Rust parts locally. Closes TraceMachina#477
Fixed in #1510 |
This is due to
rules_rust
handling compilers and linkers slightly differently thanrules_cc
. We probably need to fix this upstream.The text was updated successfully, but these errors were encountered: