-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Find standalone proc-macro-srv on windows too #12878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I tested this on Windows, works fine:
I also verified that it still works on Linux:
|
crates/rust-analyzer/src/reload.rs
Outdated
let standalone_server_name = "rust-analyzer-proc-macro-srv"; | ||
|
||
#[cfg(windows)] | ||
let standalone_server_name = "rust-analyzer-proc-macro-srv.exe"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks neat! I'm stealing that.
We generally use @bors delegate+ |
✌️ @fasterthanlime can now approve this pull request |
617db49
to
b1e3daf
Compare
@lnicola since you delegated, should I use the "+" syntax or the "=lnicola" syntax for bors? |
Whichever you prefer, we aren't too strict on the process and nobody is keeping track :-). I personally try to use @bors r+ |
☀️ Test successful - checks-actions |
I forgot that executables end with
.exe
on Windows in:rust-analyzer-proc-macro-srv
binary, use it if found in sysroot #12858