Skip to content

build: Disable lld only for x86_64-unknown-linux-gnu#18

Open
jannau wants to merge 1 commit intoRust-for-Linux:trunkfrom
jannau:aarch64-build
Open

build: Disable lld only for x86_64-unknown-linux-gnu#18
jannau wants to merge 1 commit intoRust-for-Linux:trunkfrom
jannau:aarch64-build

Conversation

@jannau
Copy link
Copy Markdown

@jannau jannau commented Apr 10, 2026

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant