about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/l4re_base.rs
AgeCommit message (Collapse)AuthorLines
2023-11-08target: move base specs to spec/baseDavid Wood-14/+0
Signed-off-by: David Wood <david@davidtw.co>
2022-10-06rustc_target: Refactor internal linker flavorsVadim Petrochenkov-3/+2
In accordance with the design from https://github.com/rust-lang/rust/pull/96827#issuecomment-1208441595
2022-09-01rustc_target: Refactor internal linker flavors slightlyVadim Petrochenkov-1/+1
Remove one unstable user-facing linker flavor (l4-bender)
2022-08-27rustc_target: Add some more target spec sanity checkingVadim Petrochenkov-1/+2
2022-07-11rustc_target: Flip the default for `TargetOptions::executables` to trueVadim Petrochenkov-1/+0
Also change `executables` to true for linux-kernel and windows-uwp-gnu targets
2022-04-03Cleanup after some refactoring in rustc_targetLoïc BRANSTETT-4/+1
2022-04-03Replace every Vec in Target(Options) with it's Cow equivalentLoïc BRANSTETT-1/+3
2022-04-03Replace every `String` in Target(Options) with `Cow<'static, str>`Loïc BRANSTETT-4/+4
2022-01-21adapt L4Bender implementationBenjamin Lamowski-4/+4
- Fix style errors. - L4-bender does not yet support dynamic linking. - Stack unwinding is not yet supported for x86_64-unknown-l4re-uclibc. For now, just abort on panics. - Use GNU-style linker options where possible. As suggested by review: - Use standard GNU-style ld syntax for relro flags. - Use standard GNU-style optimization flags and logic. - Use standard GNU-style ld syntax for --subsystem. - Don't read environment variables in L4Bender linker. Thanks to CARGO_ENCODED_RUSTFLAGS introduced in #9601, l4-bender's arguments can now be passed from the L4Re build system without resorting to custom parsing of environment variables.
2022-01-21Add L4Bender as linker variantSebastian Humenda-16/+5
2021-05-20Swap TargetOptions::linker_is_gnu default from false to true and update ↵Luqman Aden-0/+1
targets as appropriate.
2021-04-11Allow setting `target_family` to multiple valuesSimonas Kazlauskas-1/+1
This enables us to set more generic labels shared between targets. For example `target_family="wasm"` across all targets that are conceptually "wasm". See https://github.com/rust-lang/reference/pull/1006
2021-04-05rustc_target: Rely on defaults more in target specsVadim Petrochenkov-6/+1
2020-11-08rustc_target: Rename some target options to avoid tautologyVadim Petrochenkov-3/+3
`target.target_endian` -> `target.endian` `target.target_c_int_width` -> `target.c_int_width` `target.target_os` -> `target.os` `target.target_env` -> `target.env` `target.target_vendor` -> `target.vendor` `target.target_family` -> `target.os_family` `target.target_mcount` -> `target.mcount`
2020-11-07rustc_target: Move `linker_flavor` from `Target` to `TargetOptions`Vadim Petrochenkov-0/+1
2020-11-07rustc_target: Move `target_env` from `Target` to `TargetOptions`Vadim Petrochenkov-0/+1
2020-11-07rustc_target: Move `target_os` from `Target` to `TargetOptions`Vadim Petrochenkov-0/+1
2020-08-30mv compiler to compiler/mark-0/+28