diff options
author | Aleksey Kladov <[email protected]> | 2020-03-09 12:55:14 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-03-09 12:55:14 +0000 |
commit | 5770fa71fa822c998b4d3b57cf1f001dfd84e6e8 (patch) | |
tree | 6d3c5e65f0f94b9c708a92de59667f381957189a /xtask | |
parent | 07051c06072d6f07924c48316973e2402ad5fa8b (diff) |
Disable jemalloc, it doesn't work out of the box with musl
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/dist.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 7f2c51223..d42faa122 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs | |||
@@ -50,7 +50,9 @@ fn dist_server() -> Result<()> { | |||
50 | run!( | 50 | run!( |
51 | "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release | 51 | "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release |
52 | --target x86_64-unknown-linux-musl | 52 | --target x86_64-unknown-linux-musl |
53 | --features=jemalloc" | 53 | " |
54 | // We'd want to add, but that requires setting the right linker somehow | ||
55 | // --features=jemalloc | ||
54 | )?; | 56 | )?; |
55 | run!("strip ./target/x86_64-unknown-linux-musl/release/rust-analyzer")?; | 57 | run!("strip ./target/x86_64-unknown-linux-musl/release/rust-analyzer")?; |
56 | } else { | 58 | } else { |