diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-07-20 15:26:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-20 15:26:46 +0200 |
| commit | b929b68a5ba4570e15637b12d9e687a2ba6673d8 (patch) | |
| tree | 609f47d675b3aaa2f5d5ea4b0abf60b696514d83 | |
| parent | 580cdfa6a7a9513b9185b404e346cf7f0e1a6c85 (diff) | |
| download | rust-b929b68a5ba4570e15637b12d9e687a2ba6673d8.tar.gz rust-b929b68a5ba4570e15637b12d9e687a2ba6673d8.zip | |
Remove the RUSTFLAGS enable method from Readme.md
It is a worse option than using `CARGO_PROFILE_DEV_CODEGEN_BACKEND`. When using `--target` it doesn't apply to build scripts and proc macros. It also overrides any `RUSTFLAGS` you may have set in an env var or cargo config.
| -rw-r--r-- | Readme.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Readme.md b/Readme.md index eb21e027dd0..29050e8b5b4 100644 --- a/Readme.md +++ b/Readme.md @@ -16,7 +16,6 @@ $ rustup component add rustc-codegen-cranelift-preview --toolchain nightly Once it is installed, you can enable it with one of the following approaches: - `CARGO_PROFILE_DEV_CODEGEN_BACKEND=cranelift cargo +nightly build -Zcodegen-backend` -- `RUSTFLAGS="-Zcodegen-backend=cranelift" cargo +nightly build` - Add the following to `.cargo/config.toml`: ```toml [unstable] |
