Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop relying on linking details of std’s default allocator #18944

Merged
merged 1 commit into from Oct 19, 2017

Commits on Oct 19, 2017

  1. Stop relying on linking details of std’s default allocator

    We’ve been bitten before by symbol names changing:
    servo/heapsize#46
    and upstream is planning to stop using jemalloc by default:
    rust-lang/rust#33082 (comment)
    
    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.
    SimonSapin committed Oct 19, 2017
You can’t perform that action at this time.