mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Merge #3472
3472: Fix dist again r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
aec78f090c
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ fn dist_server() -> Result<()> {
|
||||||
let (src, dst) = if cfg!(target_os = "linux") {
|
let (src, dst) = if cfg!(target_os = "linux") {
|
||||||
("./target/x86_64-unknown-linux-musl/release/rust-analyzer", "./dist/rust-analyzer-linux")
|
("./target/x86_64-unknown-linux-musl/release/rust-analyzer", "./dist/rust-analyzer-linux")
|
||||||
} else if cfg!(target_os = "windows") {
|
} else if cfg!(target_os = "windows") {
|
||||||
("/target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe")
|
("./target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe")
|
||||||
} else if cfg!(target_os = "macos") {
|
} else if cfg!(target_os = "macos") {
|
||||||
("/target/release/rust-analyzer", "./dist/rust-analyzer-mac")
|
("./target/release/rust-analyzer", "./dist/rust-analyzer-mac")
|
||||||
} else {
|
} else {
|
||||||
panic!("Unsupported OS")
|
panic!("Unsupported OS")
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue