Skip to content

Commit 4f2207f

Browse files
committed
Auto merge of #1956 - integer32llc:sadmac, r=jtgeibel
Disable the background_threads jemallocator feature It's not supported on macOS :( ![Sad mac icon](https://user-images.githubusercontent.com/193874/70942958-c20d1880-201d-11ea-88bb-4f4188ce0d36.png) When I try to `cargo run --bin server` on macOS Catalina 10.15.1, I get: ``` $ cargo run --bin server Finished dev [unoptimized + debuginfo] target(s) in 0.51s Running `target/debug/server` <jemalloc>: option background_thread currently supports pthread only memory allocation of 40 bytes failedAbort trap: 6 ``` Leave [the upgrade](#1953) but turn off the `background_threads` feature for now. [Someday we might be able to enable features per-target](rust-lang/cargo#1197), but that day is not today. r? @jtgeibel
2 parents 1fc6bfa + 7101ff3 commit 4f2207f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ derive_deref = "1.0.0"
6060
reqwest = "0.9.1"
6161
tempdir = "0.3.7"
6262
parking_lot = "0.7.1"
63-
jemallocator = { version = "0.3", features = ['unprefixed_malloc_on_supported_platforms', 'profiling', "background_threads"] }
63+
jemallocator = { version = "0.3", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] }
6464

6565
lettre = "0.9"
6666
lettre_email = "0.9"

0 commit comments

Comments
 (0)