servo/components/gfx/platform
Simon Sapin 959ce482dd Stop relying on linking details of std’s default allocator
We’ve been bitten before by symbol names changing:
https://github.com/servo/heapsize/pull/46
and upstream is planning to stop using jemalloc by default:
https://github.com/rust-lang/rust/issues/33082#issuecomment-309781465

So use the (relatively) new `#[global_allocator]` attribute
to explicitly select the system allocator on Windows
and jemalloc (now in an external crate) on other platforms.
This choice matches current defaults.
2017-10-19 09:52:50 +02:00
..
freetype Stop relying on linking details of std’s default allocator 2017-10-19 09:52:50 +02:00
macos Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
windows Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
mod.rs Ged rid of libfontconfig in Android. Query available fonts from Android system font configuration files. 2017-06-02 18:40:08 +02:00