From 6db76bd27554abdf47bdf4eadf08d9773e357c0e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 11 Jun 2017 21:08:49 -0700 Subject: [PATCH] with rustup 1.4, compiling libstd with the jemalloc feature works without any patching --- README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 90e83c9..0134264 100644 --- a/README.md +++ b/README.md @@ -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