diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-05 10:56:12 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-05 10:56:12 +0000 |
commit | aec78f090cdb8ac6ffe49a767a655356374a560e (patch) | |
tree | 9a861b223a84e3af60c80d837bf319149f21408a | |
parent | ee75928855ba0b969376de9a13232895df24066b (diff) | |
parent | 700a1a3175a3c379e36cb8a04e33bea9bb2996df (diff) |
Merge #3472
3472: Fix dist again r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
-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 | }; |