diff options
author | Aleksey Kladov <[email protected]> | 2020-03-05 10:55:34 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-03-05 10:55:34 +0000 |
commit | 700a1a3175a3c379e36cb8a04e33bea9bb2996df (patch) | |
tree | 2399562ce325cfe698e209f7a1fcb23c32206007 /xtask | |
parent | b6819c25950eb49dd9bebf5e2190971fff19fe91 (diff) |
Fix dist again
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/dist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 737751ae8..4c0fbaf57 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -55,9 +55,9 @@ fn dist_server() -> Result<()> { | |||
55 | let (src, dst) = if cfg!(target_os = "linux") { | 55 | let (src, dst) = if cfg!(target_os = "linux") { |
56 | ("./target/x86_64-unknown-linux-musl/release/rust-analyzer", "./dist/rust-analyzer-linux") | 56 | ("./target/x86_64-unknown-linux-musl/release/rust-analyzer", "./dist/rust-analyzer-linux") |
57 | } else if cfg!(target_os = "windows") { | 57 | } else if cfg!(target_os = "windows") { |
58 | ("/target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe") | 58 | ("./target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe") |
59 | } else if cfg!(target_os = "macos") { | 59 | } else if cfg!(target_os = "macos") { |
60 | ("/target/release/rust-analyzer", "./dist/rust-analyzer-mac") | 60 | ("./target/release/rust-analyzer", "./dist/rust-analyzer-mac") |
61 | } else { | 61 | } else { |
62 | panic!("Unsupported OS") | 62 | panic!("Unsupported OS") |
63 | }; | 63 | }; |