Commit Graph

316 Commits

Author SHA1 Message Date
gnzlbg de8bcc6932 bump version 2018-07-04 16:43:04 +02:00
Alex Crichton 51db5a4511
Merge pull request #55 from SimonSapin/prefix-private
Prefix private symbols unconditionally
2018-06-27 13:28:35 -05:00
Simon Sapin 6d0185c384 Also run jemallocator tests with unprefixed symbols 2018-06-25 18:59:27 +02:00
Simon Sapin de305db300 Document in code why symbol prefixes are always enabled on some platforms. 2018-06-25 18:59:27 +02:00
Simon Sapin b3df79cc63 Document feature flags 2018-06-25 18:59:27 +02:00
Simon Sapin fe7f784303 Update README: not nightly-only anymore, linking is not enough. 2018-06-25 18:59:27 +02:00
Simon Sapin 980f69c5ba Rename no_prefix feature to unprefixed_malloc_on_supported_platforms 2018-06-25 18:59:27 +02:00
Simon Sapin 3450b53222 Add a test for prefixed vs unprefixed symbols 2018-06-25 18:59:27 +02:00
Simon Sapin eaf83edc15 Prefix private symbols unconditionally
The point of the `no_prefix` flag it to override libc symbols like `malloc`, it shouldn’t affect jemalloc’s internal APIs.
2018-06-24 22:14:48 +02:00
Steven Fackler 5d174417f1 Set a custom prefix for jemalloc internal symbols
They otherwise conflict with the same symbols pulled in via the jemalloc
rustc provides if a custom global allocator isn't set.

Closes #51
2018-06-24 21:38:13 +02:00
Steven Fackler 9a1a1a7353 Fix bg_thread feature
background threads were previously always disabled since cargo upper
cases feature names. jemallocator also enabled default features on
jemalloc-sys.
2018-06-24 21:28:19 +02:00
Steven Fackler 4f01b49922 Add a no_prefix feature
There are some targets that we still force a prefix since they have
issues when their libc malloc is replaced in this way.

Closes #39
2018-06-24 21:27:26 +02:00
Simon Sapin 607de93c67 Support stable Rust, move `impl Alloc` behind a feature flag 2018-06-13 19:46:20 +02:00
Simon Sapin 42231d7495 Upgrade to rustc 1.28.0-nightly (b68432d56 2018-06-12) 2018-06-13 19:46:20 +02:00
gnzlbg 69ae59c309 bump jemalloc-sys to 0.1.6 and jemallocator to 0.1.8 2018-05-22 17:29:13 +02:00
Alex Crichton 78bd8dfc33
Merge pull request #47 from gnzlbg/bg_thread
Add feature to enable the bg thread (enabled by default)
2018-05-22 10:11:07 -05:00
gnzlbg ed07a3e01f add feature to enable the bg thread (enabled by default) 2018-05-22 16:56:01 +02:00
gnzlbg 9da27b39dd
Merge pull request #46 from alexcrichton/gnzlbg-patch-1
Fix typo
2018-05-17 23:32:16 +02:00
gnzlbg d2c707da0c
Fix typo 2018-05-17 23:31:43 +02:00
Alex Crichton be65e24831
Merge pull request #45 from gnzlbg/jemalloc51
update jemalloc5.1RC1 to jemalloc5.1
2018-05-16 15:06:49 -05:00
gnzlbg ac13a3abdf update configure files 2018-05-16 20:42:22 +02:00
gnzlbg a7162f4c0a update jemalloc5.1RC1 to jemalloc5.1 2018-05-16 19:16:50 +02:00
Alex Crichton f785a5ff00
Merge pull request #44 from gnzlbg/appv_badge
Add appveyor badge to readme
2018-05-04 11:30:15 -05:00
gnzlbg fc0f40a970 add appveyor badge to readme 2018-05-04 18:28:20 +02:00
Alex Crichton ef28b04c3c
Merge pull request #42 from gnzlbg/ci
Adds CI for most targets on rust-lang/rust
2018-05-04 11:22:41 -05:00
gnzlbg de44cd28bf fixup 2018-05-04 16:59:37 +02:00
gnzlbg d6c8b6a51b fix appveyor build 2018-05-04 16:50:10 +02:00
gnzlbg fa84575503 don't use cp or diff 2018-05-04 16:46:30 +02:00
gnzlbg 3ae2d04c26 remove msvc appveyor builds; remove emscripten targets 2018-05-04 16:28:56 +02:00
gnzlbg b68e237c7e --disable-thp on sparc64 2018-05-03 19:19:01 +02:00
gnzlbg 5a8a9f085a verify configure only on x86_64-unknown-linux-gnu 2018-05-03 19:06:19 +02:00
gnzlbg 08cad15fc8 enable all buildbots 2018-05-03 18:25:21 +02:00
gnzlbg 916822031b fix cargo cache 2018-05-03 18:23:38 +02:00
gnzlbg 0476f52967 pass cflags as ldflags 2018-05-03 18:15:57 +02:00
gnzlbg a25a7cb74a pass the CFLAGS as part of CC 2018-05-03 17:55:43 +02:00
gnzlbg 84b3eafa4c try again 2018-05-03 17:41:14 +02:00
gnzlbg 591c4c817b require sudo 2018-05-03 17:26:17 +02:00
gnzlbg a779c299ef require Ubuntu precise 2018-05-03 17:19:54 +02:00
gnzlbg 2303d9d480 require gcc multi-lib for i586/i686 builds 2018-05-03 17:08:22 +02:00
gnzlbg 5f4a0d5e06 formatting 2018-05-03 17:00:07 +02:00
gnzlbg f3bded703f enable all build bots 2018-05-03 16:52:33 +02:00
gnzlbg 8a67933306 fixup 2018-05-03 16:46:01 +02:00
gnzlbg 2276a582e0 use jemalloc submodule 2018-05-03 16:41:15 +02:00
gnzlbg 1babc4eb87 re-add jemalloc submodule 2018-05-03 16:37:24 +02:00
gnzlbg 0390383c88 fixup 2018-05-03 16:07:07 +02:00
gnzlbg a9a848abe1 use wget to fetch jemalloc instead of git 2018-05-03 10:07:11 +02:00
gnzlbg bad4887939 add missing dockerfile 2018-05-03 01:03:38 +02:00
gnzlbg cec5241d26 fixup 2018-05-03 01:00:17 +02:00
gnzlbg 33ef06d560 use custom docker images 2018-05-03 00:43:09 +02:00
gnzlbg 68f60d8803 build jemalloc in OUT_DIR 2018-05-03 00:23:40 +02:00