mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-26 11:55:04 +00:00
Disable jemalloc, it doesn't work out of the box with musl
This commit is contained in:
parent
07051c0607
commit
5770fa71fa
1 changed files with 3 additions and 1 deletions
|
@ -50,7 +50,9 @@ fn dist_server() -> Result<()> {
|
||||||
run!(
|
run!(
|
||||||
"cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release
|
"cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release
|
||||||
--target x86_64-unknown-linux-musl
|
--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")?;
|
run!("strip ./target/x86_64-unknown-linux-musl/release/rust-analyzer")?;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue