aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/dist.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-05 10:56:12 +0000
committerGitHub <[email protected]>2020-03-05 10:56:12 +0000
commitaec78f090cdb8ac6ffe49a767a655356374a560e (patch)
tree9a861b223a84e3af60c80d837bf319149f21408a /xtask/src/dist.rs
parentee75928855ba0b969376de9a13232895df24066b (diff)
parent700a1a3175a3c379e36cb8a04e33bea9bb2996df (diff)
Merge #3472
3472: Fix dist again r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src/dist.rs')
-rw-r--r--xtask/src/dist.rs4
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 };