Commit graph

11 commits

Author SHA1 Message Date
Simon Sapin 42231d7495 Upgrade to rustc 1.28.0-nightly (b68432d56 2018-06-12) 2018-06-13 19:46:20 +02:00
gnzlbg 8d1adbfd19 oom is no longer part of GlobalAlloc 2018-05-02 10:08:22 +02:00
Alex Crichton 1d463baa04 Fix invokation of oom in tests 2018-04-27 08:54:20 -07:00
Simon Sapin c66f9d4d51 Implement the GlobalAlloc trait, upgrade to nightly-2018-04-15
CC https://github.com/rust-lang/rust/pull/49669
2018-04-15 08:15:10 +02:00
Simon Sapin fd99aeeb2d Don’t assume MIN_ALIGN for small sizes
Same as https://github.com/rust-lang/rust/pull/46117

See also discussion of jemalloc’s behavior at
https://github.com/jemalloc/jemalloc/issues/1072
2017-11-22 16:45:11 +01:00
Simon Sapin e6ea8a94b4 Add bindings to all jemalloc public functions
That is, those documented in http://jemalloc.net/jemalloc.3.html

For example `malloc` and `free` can be useful when implementing
callbacks for a C library that doesn’t provide a size when deallocating:
https://www.freetype.org/freetype2/docs/reference/ft2-system_interface.html
2017-10-30 16:13:25 +01:00
Simon Sapin d24b998401 Expose malloc_usable_size in the high-level crate. 2017-10-13 21:37:45 +02:00
Alex Crichton 41abc44d9d Fix tests on OSX 2017-07-07 11:07:16 -07:00
Alex Crichton 834f517f31 Fix malloctl tests 2017-07-07 08:23:27 -07:00
Alex Crichton ddd38e9ba9 Fix CI and 32-bit builds
Also expand CI slightly and more targeted versions across Rust channels. Finally
also run `systest` on CI.
2017-05-30 07:32:16 -07:00
Alex Crichton 523f5996f9 Add some simple tests here and there 2016-01-20 17:14:01 -08:00