diff options
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 821ba041b..12bad820f 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -56,9 +56,9 @@ fn dist_server() -> Result<()> { | |||
56 | let (src, dst) = if cfg!(target_os = "linux") { | 56 | let (src, dst) = if cfg!(target_os = "linux") { |
57 | ("./target/x86_64-unknown-linux-musl/release/rust-analyzer", "./dist/rust-analyzer-linux") | 57 | ("./target/x86_64-unknown-linux-musl/release/rust-analyzer", "./dist/rust-analyzer-linux") |
58 | } else if cfg!(target_os = "windows") { | 58 | } else if cfg!(target_os = "windows") { |
59 | ("/target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe") | 59 | ("./target/release/rust-analyzer.exe", "./dist/rust-analyzer-windows.exe") |
60 | } else if cfg!(target_os = "macos") { | 60 | } else if cfg!(target_os = "macos") { |
61 | ("/target/release/rust-analyzer", "./dist/rust-analyzer-mac") | 61 | ("./target/release/rust-analyzer", "./dist/rust-analyzer-mac") |
62 | } else { | 62 | } else { |
63 | panic!("Unsupported OS") | 63 | panic!("Unsupported OS") |
64 | }; | 64 | }; |