From 5770fa71fa822c998b4d3b57cf1f001dfd84e6e8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 9 Mar 2020 13:55:14 +0100 Subject: Disable jemalloc, it doesn't work out of the box with musl --- xtask/src/dist.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xtask/src') 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<()> { run!( "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release --target x86_64-unknown-linux-musl - --features=jemalloc" + " + // We'd want to add, but that requires setting the right linker somehow + // --features=jemalloc )?; run!("strip ./target/x86_64-unknown-linux-musl/release/rust-analyzer")?; } else { -- cgit v1.2.3