mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Remove support for jemalloc
We only used it for measuring memory usage, but now we can use glibc's allocator for that just fine
This commit is contained in:
parent
26932e0060
commit
deed44a472
10 changed files with 7 additions and 109 deletions
|
@ -24,7 +24,6 @@ pub struct ServerOpt {
|
|||
|
||||
pub enum Malloc {
|
||||
System,
|
||||
Jemalloc,
|
||||
Mimalloc,
|
||||
}
|
||||
|
||||
|
@ -138,7 +137,6 @@ fn install_server(opts: ServerOpt) -> Result<()> {
|
|||
|
||||
let malloc_feature = match opts.malloc {
|
||||
Malloc::System => "",
|
||||
Malloc::Jemalloc => "--features jemalloc",
|
||||
Malloc::Mimalloc => "--features mimalloc",
|
||||
};
|
||||
let res = run!("cargo install --path crates/rust-analyzer --locked --force {}", malloc_feature);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue