File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ members = ["cargo:."]
55[dist ]
66build-command = [" cargo" , " build" ]
77# Features to pass to cargo build
8- features = [" use-jemalloc " ]
9- # features = ["use-mimalloc-rs "]
8+ features = [" use-mimalloc-rs " ]
9+ # features = ["use-jemalloc "]
1010# features = ["use-auto-allocator"]
1111# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
1212cargo-dist-version = " 0.30.0"
Original file line number Diff line number Diff line change 99static GLOBAL : mimalloc:: MiMalloc = mimalloc:: MiMalloc ;
1010
1111#[ cfg( feature = "use-mimalloc-rs" ) ]
12+ #[ cfg( all(
13+ feature = "use-mimalloc-rs" ,
14+ any(
15+ all( not( target_os = "windows" ) )
16+ )
17+ ) ) ]
1218#[ global_allocator]
1319static GLOBAL_MIMALLOC : mimalloc_rust:: GlobalMiMalloc = mimalloc_rust:: GlobalMiMalloc ;
1420
You can’t perform that action at this time.
0 commit comments