]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #74251 - shepmaster:bootstrap-target-files, r=Mark-Simulacrum
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 17 Jul 2020 21:09:11 +0000 (14:09 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Jul 2020 21:09:11 +0000 (14:09 -0700)
commit7d4e6c0aca1365ac2adb6a9fa28f91dc15da32db
tree6a8d3dc2a7c0f96d062ae050b115cce2284bdfe0
parent10b7eecbdd7cee00349dfc30b9e2dcf8b4f688af
parente2b337dc57b5309d19e25811d3de340cc7567285
Rollup merge of #74251 - shepmaster:bootstrap-target-files, r=Mark-Simulacrum

Teach bootstrap about target files vs target triples

`rustc` allows passing in predefined target triples as well as JSON
target specification files. This change allows bootstrap to have the
first inkling about those differences. This allows building a
cross-compiler for an out-of-tree architecture (even though that
compiler won't work for other reasons).

Even if no one ever uses this functionality, I think the newtype
around the `Interned<String>` improves the readability of the code.
src/bootstrap/builder.rs