about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/android_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>
2022-09-20Update rustc's information on Android's sanitizersChris Wailes-1/+3
This patch updates sanitizier support definitions for Android inside the compiler. It also adjusts the logic to make sure no pre-built sanitizer runtime libraries are emitted as these are instead provided dynamically on Android targets.
2022-08-27rustc_target: Do not specify some target options redundantlyVadim Petrochenkov-1/+0
These values are already inherited
2022-08-10add crt-static for androidBryanskiy-1/+1
2022-07-08Implement support for DWARF version 5.Patrick Walton-1/+1
DWARF version 5 brings a number of improvements over version 4. Quoting from the announcement [1]: > Version 5 incorporates improvements in many areas: better data compression, > separation of debugging data from executable files, improved description of > macros and source files, faster searching for symbols, improved debugging > optimized code, as well as numerous improvements in functionality and > performance. On platforms where DWARF version 5 is supported (Linux, primarily), this commit adds support for it behind a new `-Z dwarf-version=5` flag. [1]: https://dwarfstd.org/Public_Review.php
2022-04-03Replace every `String` in Target(Options) with `Cow<'static, str>`Loïc BRANSTETT-1/+1
2022-02-13rustc_target: Remove compiler-rt linking hack on AndroidVadim Petrochenkov-7/+1
2021-12-17Rename `has_elf_tls` to `has_thread_local`Chris Denton-1/+1
2021-11-12Android is not GNUJosh Stone-1/+1
2021-03-28rustc_target: Avoid unwraps when adding linker flagsVadim Petrochenkov-2/+2
2021-03-23Allow not emitting `uwtable` on Androidhyd-dev-1/+4
2020-11-11Rollup merge of #78930 - petrochenkov:notlikeandroid, r=Mark-SimulacrumJonas Schievink-1/+0
rustc_taret: Remove `TargetOptions::is_like_android` This option was replaced by more specific options and is no longer used by the compiler.
2020-11-11rustc_target: Move target env "gnu" from `linux_base` to `linux_gnu_base`Vadim Petrochenkov-1/+1
2020-11-10rustc_taret: Remove `TargetOptions::is_like_android`Vadim Petrochenkov-1/+0
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_os` from `Target` to `TargetOptions`Vadim Petrochenkov-0/+1
2020-10-13Add a target option for selecting a DWARF versionAustin Shafer-0/+1
Certain platforms need to limit the DWARF version emitted (oxs, *bsd). This change adds a dwarf_version entry to the options that allows a platform to specify the dwarf version to use. By default this option is none and the default DWARF version is selected. Also adds an option for printing Option<u32> json keys
2020-10-04Support static linking with glibc and target-feature=+crt-staticJosh Triplett-0/+1
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/+16