diff options
| author | David Wood <david.wood@huawei.com> | 2021-10-01 12:41:18 +0000 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2021-10-02 20:01:43 +0000 |
| commit | e552c0d86baebdf594b9cacebbcf5207e57207d5 (patch) | |
| tree | e8302f5ed832c07b68454b2a3c31d82f4896a32c /compiler/rustc_codegen_llvm/src | |
| parent | 4e4942dfa66667c0addfff8e0882a59b035d45ca (diff) | |
| download | rust-e552c0d86baebdf594b9cacebbcf5207e57207d5.tar.gz rust-e552c0d86baebdf594b9cacebbcf5207e57207d5.zip | |
bootstrap: add config option for nix patching
On NixOS systems, bootstrap will patch rustc used in bootstrapping after checking `/etc/os-release` (to confirm the current distribution is NixOS). However, when using Nix on a non-NixOS system, it can be desirable for bootstrap to patch rustc. In this commit, a `patch-binaries-for-nix` option is added to `config.toml`, which allows for user opt-in to bootstrap's Nix patching. Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
