rust-lang / rls

Repository for the Rust Language Server (aka RLS)
Other
3.52k stars 257 forks source link

How do I debug a build.rs failure? #1702

Closed amosjyng closed 3 years ago

amosjyng commented 3 years ago

Unlike when I run cargo build myself, it seems to be failing when RLS runs it itself. It also fails before any output or stderr files are created in the build directory. I don't see any output in the log file either, even though I added this to settings.json:

    "rust-client.revealOutputChannelOn": "info",
    "rust-client.logToFile": true,

Alternatively, I am also fine with disabling build.rs for RLS, if that's an option, since my regular builds should already set everything up.

Thanks!

amosjyng commented 3 years ago

Not sure why but the RLS build is working now. I don't think I made any meaningful changes. Closing this now.