about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/tests
AgeCommit message (Collapse)AuthorLines
2024-11-27ensure JSON-defined targets are consistentRalf Jung-208/+0
2024-11-26Auto merge of #133505 - compiler-errors:rollup-xjp8hdi, r=compiler-errorsbors-0/+23
Rollup of 12 pull requests Successful merges: - #133042 (btree: add `{Entry,VacantEntry}::insert_entry`) - #133070 (Lexer tweaks) - #133136 (Support ranges in `<[T]>::get_many_mut()`) - #133140 (Inline ExprPrecedence::order into Expr::precedence) - #133155 (Yet more `rustc_mir_dataflow` cleanups) - #133282 (Shorten the `MaybeUninit` `Debug` implementation) - #133326 (Remove the `DefinitelyInitializedPlaces` analysis.) - #133362 (No need to re-sort existential preds in relate impl) - #133367 (Simplify array length mismatch error reporting (to not try to turn consts into target usizes)) - #133394 (Bail on more errors in dyn ty lowering) - #133410 (target check_consistency: ensure target feature string makes some basic sense) - #133435 (miri: disable test_downgrade_observe test on macOS) r? `@ghost` `@rustbot` modify labels: rollup
2024-11-24target check_consistency: ensure target feature string makes some basic senseRalf Jung-0/+23
2024-11-24the emscripten OS no longer exists on non-wasm targetsRalf Jung-1/+4
2024-10-31Add `lp64e` ABI to the spec tests matchJan Bujak-1/+2
2024-10-22Fix rustc_target test: wasmNN-none should support dynamic linkingGraydon Hoare-1/+7
2024-10-17Always specify `llvm_abiname` for RISC-V targetsbeetrees-0/+11
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-03-11LLVM Bitcode Linker: Add as a linker known to the compilerKjetil Kjeka-1/+4
2023-12-21Add support for hexagon-unknown-none-elf as targetBrian Cain-1/+2
Signed-off-by: Brian Cain <bcain@quicinc.com>
2023-10-18allow target specs to declare self-contained linking componentsRémy Rakic-1/+1
2022-11-05Remove linuxkernel targetsAlex Gaynor-5/+4
These are not used by the actual Rust-for-Linux project, so they're mostly just confusing.
2022-10-06rustc_target: Refactor internal linker flavorsVadim Petrochenkov-49/+36
In accordance with the design from https://github.com/rust-lang/rust/pull/96827#issuecomment-1208441595
2022-09-09Use RelocModel::Pic for UEFI targetsNicholas Bishop-1/+2
In https://github.com/rust-lang/rust/pull/100537, the relocation model for UEFI targets was changed from PIC (the default value) to static. There was some dicussion of this change here: https://github.com/rust-lang/rust/pull/100537#discussion_r952363012 It turns out that this can cause compilation to fail as described in https://github.com/rust-lang/rust/issues/101377, so switch back to PIC. Fixes https://github.com/rust-lang/rust/issues/101377
2022-09-01rustc_target: Refactor internal linker flavors slightlyVadim Petrochenkov-13/+9
Remove one unstable user-facing linker flavor (l4-bender)
2022-09-01rustc_target: Add a compatibility layer to separate internal and user-facing ↵Vadim Petrochenkov-2/+4
linker flavors
2022-08-27rustc_target: Add some more target spec sanity checkingVadim Petrochenkov-10/+49
2022-08-12rustc_target: Update some old naming around self contained linkingVadim Petrochenkov-3/+3
The "fallback" naming pre-dates introduction of `-Clink-self-contained`
2022-08-03Add support for link-flavor rust-lld for iOS, tvOS and watchOSmary-1/+4
This adds support for rust-lld for Apple *OS targets. This was tested against targets "aarch64-apple-ios" and "aarch64-apple-ios-sim". For targets "armv7-apple-ios" and "armv7s-apple-ios", it doesn't link because of "symbols.o" not being generated with the correct CPU subtype (changes in the "object" crate needs to be done to support it).
2022-06-25rustc_target: Some more tests and fixes for linker argumentsVadim Petrochenkov-13/+84
2022-06-18rustc_target: Remove some redundant target propertiesVadim Petrochenkov-0/+5
2021-06-17Emit warnings for unused fields in custom targets.Adam Bratschi-Kaye-1/+1
2021-04-04wasm64Gus Caplan-0/+1
2020-11-14Auto merge of #78959 - petrochenkov:likeuefi, r=nagisabors-0/+2
rustc_target: Mark UEFI targets as `is_like_windows`/`is_like_msvc` And document what `is_like_windows` and `is_like_msvc` actually mean in more detail. Addresses FIXMEs left from https://github.com/rust-lang/rust/pull/71030. r? `@nagisa`
2020-11-12rustc_target: Mark UEFI targets as `is_like_windows`/`is_like_msvc`Vadim Petrochenkov-0/+2
Document what `is_like_windows` and `is_like_msvc` mean in more detail.
2020-11-11rustc_target: Make sure that in-tree targets follow conventions for os and ↵Vadim Petrochenkov-0/+13
vendor values
2020-11-08Collapse all uses of `target.options.foo` into `target.foo`Vadim Petrochenkov-10/+10
with an eye on merging `TargetOptions` into `Target`. `TargetOptions` as a separate structure is mostly an implementation detail of `Target` construction, all its fields logically belong to `Target` and available from `Target` through `Deref` impls.
2020-10-05rustc_target: Refactor away `TargetResult`Vadim Petrochenkov-11/+4
Construction of a built-in target is always infallible now, so `TargetResult` is no longer necessary.
2020-08-30mv compiler to compiler/mark-0/+47