about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/tests
AgeCommit message (Collapse)AuthorLines
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