about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/linux_musl_base.rs
AgeCommit message (Collapse)AuthorLines
2023-11-08target: move base specs to spec/baseDavid Wood-16/+0
Signed-off-by: David Wood <david@davidtw.co>
2023-10-18unify `LinkSelfContained` and `LinkSelfContainedDefault`Rémy Rakic-3/+2
Removes the backwards-compatible `LinkSelfContainedDefault`, by incorporating the remaining specifics into `LinkSelfContained`. Then renames the modern options to keep the old name.
2023-10-18allow target specs to declare self-contained linking componentsRémy Rakic-2/+3
2022-08-12rustc_target: Update some old naming around self contained linkingVadim Petrochenkov-4/+4
The "fallback" naming pre-dates introduction of `-Clink-self-contained`
2022-04-03Replace every `String` in Target(Options) with `Cow<'static, str>`Loïc BRANSTETT-1/+1
2020-11-08rustc_target: Rename some target options to avoid tautologyVadim Petrochenkov-1/+1
`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 `target_env` from `Target` to `TargetOptions`Vadim Petrochenkov-0/+1
2020-10-04Support static linking with glibc and target-feature=+crt-staticJosh Triplett-2/+0
With this change, it's possible to build on a linux-gnu target and pass RUSTFLAGS='-C target-feature=+crt-static' or the equivalent via a `.cargo/config.toml` file, and get a statically linked executable. This requires libc 0.2.79, which adds support for static linking with glibc. Add `crt_static_respected` to the `linux_base` target spec. Update `android_base` and `linux_musl_base` accordingly. Avoid enabling crt_static_respected on Android platforms, since that hasn't been tested.
2020-08-30mv compiler to compiler/mark-0/+17