File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,7 @@ once_cell = "1.19.0"
8181parking_lot = " 0.12.3"
8282paths = { git = " https://github.com/rust-lang/rust-analyzer" , rev = " 2024-08-12" }
8383proc-macro2 = " 1.0.86"
84- profile = { features = [
85- " jemalloc" ,
86- ], git = " https://github.com/rust-lang/rust-analyzer" , rev = " 2024-08-12" }
84+ profile = { git = " https://github.com/rust-lang/rust-analyzer" , rev = " 2024-08-12" }
8785quote = " 1.0.36"
8886range-set = " 0.0.10"
8987rayon = " 1.10.0"
Original file line number Diff line number Diff line change @@ -61,9 +61,10 @@ tracing.workspace = true
6161vfs-notify.workspace = true
6262vfs.workspace = true
6363
64- [target .'cfg(not(target_env = "msvc"))' .dependencies ]
64+ [target .'cfg(not(any( target_env = "msvc", target_os = "openbsd") ))' .dependencies ]
6565jemalloc-ctl.workspace = true
6666jemallocator.workspace = true
67+ profile = { workspace = true , features = [" jemalloc" ] }
6768
6869[dev-dependencies ]
6970expect-test.workspace = true
Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ mod reporting;
4343mod shell;
4444
4545// Use jemalloc as the global allocator
46- #[ cfg( not( target_env = "msvc" ) ) ]
46+ #[ cfg( not( any ( target_env = "msvc" , target_os = "openbsd" ) ) ) ]
4747use jemallocator:: Jemalloc ;
4848
4949use crate :: args:: Args ;
5050
51- #[ cfg( not( target_env = "msvc" ) ) ]
51+ #[ cfg( not( any ( target_env = "msvc" , target_os = "openbsd" ) ) ) ]
5252#[ global_allocator]
5353static GLOBAL : Jemalloc = Jemalloc ;
5454static EQWALIZER_SUPPORT_DIR : Dir = include_dir ! ( "$EQWALIZER_SUPPORT_DIR" ) ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ impl std::ops::Sub for MemoryUsage {
4646
4747impl MemoryUsage {
4848 pub fn now ( ) -> MemoryUsage {
49- #[ cfg( not( target_env = "msvc" ) ) ]
49+ #[ cfg( not( any ( target_env = "msvc" , target_os = "openbsd" ) ) ) ]
5050 {
5151 jemalloc_ctl:: epoch:: advance ( ) . unwrap ( ) ;
5252 MemoryUsage {
You can’t perform that action at this time.
0 commit comments