diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-11-09 19:06:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-09 19:06:49 +0100 |
| commit | 62d3a4f9c25afe5251e1ba4165aefaf90d948b91 (patch) | |
| tree | a341fd14172cc5176190cd62e9870a665d72e7bd /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0aed74aa43a3c1a98b1289a3b4febac75f844949 (diff) | |
| parent | 3863dee15988d8e2b8b33ff6ba8759342e8dd98f (diff) | |
| download | rust-62d3a4f9c25afe5251e1ba4165aefaf90d948b91.tar.gz rust-62d3a4f9c25afe5251e1ba4165aefaf90d948b91.zip | |
Rollup merge of #78513 - jyn514:rustup-toolchain, r=Mark-Simulacrum
Infer the default host target from the host toolchain if possible - `beta-x86_64-unknown-linux-gnu` has beta stripped - `rustc2` is ignored This fixes ongoing issues where x.py will detect the wrong host triple between MSVC and GNU. I don't think this will break anyone's workflow - I'd be very surprised if you a) had no `[build]` section in `config.toml`, b) had rustc installed, and c) expected the default target to be something other than the default target used by `rustc`. But I could be wrong - I'm happy to hear user stories :) Fixes https://github.com/rust-lang/rust/issues/78150. r? ``@Mark-Simulacrum`` cc ``@Lokathor``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
