Skip to content

Commit 0613084

Browse files
jannaunbdd0121
authored andcommitted
build: Disable lld only for x86_64-unknown-linux-gnu
Builds on aarch64 fail with ``` error: `-C linker-features=-lld` is unstable on the `aarch64-unknown-linux-gnu` target. The `-Z unstable-options` flag must also be passed to use it on this target ``` otherwise. Since lld is only the default linker on x86_64-unknown-linux-gnu disable it only for that target.
1 parent 467ba69 commit 0613084

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
[env]
66
RUSTC_BOOTSTRAP = "1"
77

8-
[build]
8+
[target.x86_64-unknown-linux-gnu]
99
rustflags = ["-Clinker-features=-lld"]

0 commit comments

Comments
 (0)