Skip to content

Commit 5770fa7

Browse files
committed
Disable jemalloc, it doesn't work out of the box with musl
1 parent 07051c0 commit 5770fa7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xtask/src/dist.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ fn dist_server() -> Result<()> {
5050
run!(
5151
"cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release
5252
--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
5456
)?;
5557
run!("strip ./target/x86_64-unknown-linux-musl/release/rust-analyzer")?;
5658
} else {

0 commit comments

Comments
 (0)