Commit Graph

316 Commits

Author SHA1 Message Date
gnzlbg 16c76c23a5 clean up build.rs a bit 2018-11-07 00:26:16 +01:00
gnzlbg bca6aa8759 Fix extent hooks struct 2018-11-06 20:35:50 +01:00
gnzlbg bc8e071516 fix grow_in_place 2018-11-06 16:26:42 +01:00
gnzlbg 5454c43b5e run clippy only if available via rustup 2018-11-04 19:06:37 +01:00
gnzlbg 87b17ca4a4 try harder to disable cargo's progress bar 2018-11-04 19:06:37 +01:00
gnzlbg 0ec1da9092 Add workaround cargo breaking travis-ci again 2018-11-04 19:06:37 +01:00
gnzlbg fdb5251af2 Run jemalloc tests on CI while building jemalloc-sys
In the following platforms, jemalloc's tests currently fail:

* `{i686,x86_64}-apple-darwin`: due to https://github.com/alexcrichton/jemallocator/issues/85
2018-11-04 19:06:37 +01:00
gnzlbg 74eb0389fd Run x86_64-unknown-linux-gnu tests under valgrind 2018-11-03 21:52:17 +01:00
gnzlbg 0b7c2fdbb4 use clippy on CI 2018-11-03 19:21:58 +01:00
gnzlbg b2da4a8e60 fix shellcheck 2018-11-03 09:39:37 +01:00
gnzlbg 775c6e30f6 disable run-time background thread tests on musl targets 2018-11-03 09:39:37 +01:00
gnzlbg f2f17b9557 disable background threads in musl targets 2018-11-03 09:39:37 +01:00
gnzlbg de2fd16d95 turn unprefixed request failure into a warning 2018-11-03 09:39:37 +01:00
gnzlbg 07764999bd Refactor background threads options
* rename bg_thread feature to background_threads_runtime_support
* add background_threads option to enable background threads at run-time
2018-11-03 09:39:37 +01:00
gnzlbg 6e6b97717b bump jemallocator version to 0.2 2018-10-31 13:16:57 +01:00
gnzlbg beed8fa2f8 bump ctest version 2018-10-31 13:16:57 +01:00
gnzlbg d342b97a58 Make malloc_stats_print argument nullable 2018-10-31 13:16:57 +01:00
gnzlbg d9463c3f72 reformat 2018-10-30 22:41:07 +01:00
gnzlbg 9a775f8200 Update ctest to 0.2.5. 2018-10-30 13:29:40 +01:00
gnzlbg e2a362d288 Expose malloc_conf 2018-10-30 13:29:40 +01:00
gnzlbg 66e3ae01d1 update readme (links, badges, etc.) 2018-10-24 18:10:42 +02:00
gnzlbg 3df63037a5 update macosx buildbots to xcode10 2018-10-24 18:10:42 +02:00
gnzlbg 16c1e70dcc disable verifying configure file for now 2018-10-24 18:10:42 +02:00
gnzlbg 8857374154 run {i586,i686}-unknown-linux-gnu test inside docker 2018-10-24 18:10:42 +02:00
gnzlbg 8dd0cc611e add shellcheck build bot 2018-10-24 18:10:42 +02:00
gnzlbg ea47897e25 make run.sh POSIX compliant 2018-10-24 18:10:42 +02:00
gnzlbg ba93e8c1d1 add link to master branch documentation 2018-10-24 18:10:42 +02:00
gnzlbg ec72201666 test jemallocator on stable Rust in Linux and MacOS tier 1 targets 2018-10-24 18:10:42 +02:00
gnzlbg 43c4c5972c move install commands to travis script 2018-10-24 18:10:42 +02:00
gnzlbg 50b7fcca46 document platform support in readme 2018-10-24 18:10:42 +02:00
gnzlbg 641d054ce0 remove broken targets from ci 2018-10-24 18:10:42 +02:00
Alex Crichton ccd12f1059
Merge pull request #71 from gnzlbg/page_sizes
Fix build
2018-10-23 16:34:53 +02:00
gnzlbg 915d2d14d7 Jemalloc --disable-thp option has been removed 2018-10-23 14:49:48 +02:00
gnzlbg 3df921a811 add missing readme links 2018-10-23 14:49:48 +02:00
gnzlbg a9057a2372 Set sparc's page-size to 16kB on CI.
This is an attempt to fix the tests, but the tests
still fail due to a libstd issue. Once we figure the
proper page size to use out we can set it in
jemalloc-sys' build.rs.
2018-10-23 14:49:48 +02:00
gnzlbg cb0e906dda Expose more jemalloc configure options 2018-10-23 14:49:48 +02:00
gnzlbg 8dede09346 Raise iOS page-size to 16kB.
Newer iOS devices have 16kB page sizes and jemalloc's LG_PAGE size
cannot be smaller than the system's page size.

Closes #68 .
2018-10-23 14:48:04 +02:00
gnzlbg 1cb6a86a06 The LG_QUANTUM for sparc64 is always 4 in jemalloc by default.
https://github.com/jemalloc/jemalloc/blob/dev/include/jemalloc/internal/quantum.h#L19
2018-10-23 14:48:04 +02:00
Alex Crichton 204cdd595a
Merge pull request #70 from frewsxcv/patch-1
Fix a couple broken links
2018-10-23 09:53:24 +02:00
Corey Farwell 10da06e6aa
Fix a couple broken links 2018-10-21 10:01:21 -04:00
Alex Crichton 4ac247967f Update cargo metadata for jemalloc-sys 2018-10-20 12:54:21 -07:00
Alex Crichton 119fa5f288 Bump jemalloc-sys to 0.1.8 2018-10-20 12:53:19 -07:00
gnzlbg c18e43008d extent hooks should be unsafe fns 2018-10-15 16:29:02 +02:00
dependabot[bot] 5d9907e79d Update ctest requirement from 0.1 to 0.2 (#67)
Updates the requirements on [ctest](https://github.com/alexcrichton/ctest) to permit the latest version.
- [Release notes](https://github.com/alexcrichton/ctest/releases)
- [Commits](https://github.com/alexcrichton/ctest/commits/0.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-13 12:05:32 +02:00
gnzlbg 060ad53b66 make function pointers extern 2018-08-13 12:04:37 +02:00
gnzlbg aa420aed20 Document jemalloc-sys; re-enable ctest; add stats feature
* document jemalloc-sys APIs
* document readme for crates.io
* add missing jemalloc apis
* re-enable ctest
* add stats feature
2018-08-13 12:04:37 +02:00
gnzlbg c703480286 add beta build-bots for tier 1 targets 2018-07-11 22:57:18 +02:00
Alex Crichton bf72bfb384
Merge pull request #64 from gnzlbg/stf
fix shrink_in_place implementation
2018-07-11 13:22:16 -05:00
gnzlbg d5dcec6d7f fix shrink_to_fit implementation 2018-07-11 19:46:26 +02:00
gnzlbg a67a58d1e1 temporarily work around toolchain bug 2018-07-11 18:38:30 +02:00