about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-11-08 17:14:37 +0100
committerGitHub <noreply@github.com>2023-11-08 17:14:37 +0100
commitd8c52b378d1b6f7920afc58ff36cee3fe58b3946 (patch)
tree7b03a2834756f015ad3ea3b0370c9b93223bf643 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent5d00a5d9361a3d1bea6cd94ee62290d6e5ace2a3 (diff)
parentef7ebaa788112e68cabe1a99d624cf71cbf89390 (diff)
downloadrust-d8c52b378d1b6f7920afc58ff36cee3fe58b3946.tar.gz
rust-d8c52b378d1b6f7920afc58ff36cee3fe58b3946.zip
Rollup merge of #117702 - davidtwco:target-tier-refactors, r=petrochenkov
target: move base and target specifications

Follow-up to #116004.

In anticipation of later PRs where we'll want to add tidy checks to ensure that, for each target, we have a test or a platform support document or something like that, this PR moves target specifications into a directory on their own so that we can just list the files in this directory to get a list of all targets.

- Base specifications are moved to `rustc_target::spec::base`.
- Target specifications are moved to `rustc_target::spec::targets`.
- All the other source files containing types used in the target specs remain in `rustc_target::spec`.
  - `rustc_target/src/spec/abi.rs` is moved to `rustc_target/src/spec/abi/mod.rs` (where there was already a `tests.rs`) for uniformity.

r? ``@petrochenkov``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions