about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-09-06 12:57:13 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-09-11 08:59:01 -0400
commit78125ec6b393441e628f9b04b84d6d125225fe30 (patch)
tree4552b469c0c384fa61eec294e91b16c127057613 /compiler/rustc_codegen_llvm/src
parentb4eb0992614acc242169154d434db658ef6790e0 (diff)
downloadrust-78125ec6b393441e628f9b04b84d6d125225fe30.tar.gz
rust-78125ec6b393441e628f9b04b84d6d125225fe30.zip
Stop implicitly appending triples to config.toml hosts and targets
Previously, the CLI --target/--host definitions and configured options differed
in their effect: when setting these on the CLI, only the passed triples would be
compiled for, while in config.toml we would also compile for the build triple
and any host triples. This is needlessly confusing; users expect --target and
--host to be identical to editing the configuration file.

The new behavior is to respect --host and --target when passed as the *only*
configured triples (no triples are implicitly added). The default for --host is
the build triple, and the default for --target is the host triple(s), either
configured or the default build triple.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions