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

With rustup 1.4, compiling libstd with the jemalloc feature works without any patching #149

Merged
merged 1 commit into from
Jun 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,16 +318,8 @@ stage = 2
because `std` and other standard crates depend on unstable features so it's
not possible to build the sysroot with stable or beta.

- As of nightly-2016-12-19, `std` can't be compiled from the `rust-src`
component *without* patching the source.

- To build `std` *without* the "jemalloc" feature, apply the patch
in [rust-lang/rust#37975](https://github.com/rust-lang/rust/pull/37975).

- To build `std` *with* the "jemalloc" feature, you'll have to [fix the
permissions](https://github.com/rust-lang/rust/issues/36488) of the
`rust/src/jemalloc` directory. `chmod -R +x rust/src/jemalloc` should do the
trick.
- To build `std` *without* the "jemalloc" feature, apply the patch
in [rust-lang/rust#37975](https://github.com/rust-lang/rust/pull/37975).

- When using compiler plugins (e.g. `serde_derive`) the target triple must be
provided even when compiling for the host platform due to the way cargo
Expand Down