Skip to content

Commit

Permalink
[bazel] Only use lld on Linux
Browse files Browse the repository at this point in the history
macOS C++ toolchains from Apple do not contain lld, so bazel builds in
this repo would fail. This change scopes this only to Linux
  • Loading branch information
keith committed Apr 2, 2022
1 parent 3f37059 commit 9b0ed32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .bazelrc
@@ -1 +1,2 @@
build --@rules_rust//:extra_rustc_flags=-Clink-arg=-fuse-ld=lld
build --enable_platform_specific_config
build:linux --@rules_rust//:extra_rustc_flags=-Clink-arg=-fuse-ld=lld

0 comments on commit 9b0ed32

Please sign in to comment.