Skip to content

Commit

Permalink
fix(ci): add a CI type to lld whitelist (#2630)
Browse files Browse the repository at this point in the history
x86_64-unknown-linux-gnu is run locally and also ran in the CI until
recently when it seemed to start adding `stable-` to the
target-string, symbolizing that this has stable rust preinstalled.
Will soon replace this with something agnostic to rust version.

Co-Authored-By: Gilad Chase <gilad@starkware.com>
  • Loading branch information
giladchase and Gilad Chase authored Dec 10, 2024
1 parent 19f6b8a commit 9eeac6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ TABLEGEN_190_PREFIX = "/usr/lib/llvm-19/"
# TODO: remove this once `rust` stabilizes `lld` as the default linker, currently only on nightly:
# https://github.com/rust-lang/rust/issues/39915#issuecomment-618726211
[target.x86_64-unknown-linux-gnu]
[target.stable-x86_64-unknown-linux-gnu]
rustflags = ["-Clink-arg=-fuse-ld=lld"]

0 comments on commit 9eeac6f

Please sign in to comment.