Skip to content

rust-analyzer can't find rust.lld.exe #20287

Closed Answered by RocketPunches
RocketPunches asked this question in Q&A
Discussion options

You must be logged in to vote

Alright, somehow settings.json in VSCode got

    "rust-analyzer.cargo.extraEnv": {
        "RUSTFLAGS": "-Clinker=rust.lld.exe"
    },

To my knowledge I didn't do that, maybe I ran a script that added that incorrectly by accident, but changing it to rust-lld.exe fixed the issue. Sorry for the morning noobery.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@RocketPunches
Comment options

@lnicola
Comment options

lnicola Jul 23, 2025
Collaborator

@RocketPunches
Comment options

@RocketPunches
Comment options

Answer selected by RocketPunches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants