aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/CMakeLists.txt
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-10-18 13:38:07 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-10-19 09:52:50 +0200
commit959ce482dd9f2f8c469964b8c258bd3e45f7ca2b (patch)
treeb20d798d3ee0f78ba2f95012e111aaf17bb56462 /components/script/CMakeLists.txt
parent4c538b642e4bdfbf42c522c5a59c258a6d14546e (diff)
downloadservo-959ce482dd9f2f8c469964b8c258bd3e45f7ca2b.tar.gz
servo-959ce482dd9f2f8c469964b8c258bd3e45f7ca2b.zip
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.
Diffstat (limited to 'components/script/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions