rust/compiler/rustc_target/src
bors 14ee63a3c6 Auto merge of #134765 - Noratrieb:linux-none-cant-unwind-silly, r=jieyouxu
Improve default target options for x86_64-unknown-linux-none

Without a standard library, we cannot unwind, so it should be panic=abort by default.

Additionally, it does not have std because while it is Linux, it cannot use libc, which std uses today for Linux.

Using PIE by default may be surprising to users, as shown in #134763, so I've documented it explicitly. I'm not sure if we want to count that as fixing the issue or not.

cc `@morr0ne,` as you added the target (and are the maintainer), and `@Noratrieb,` who reviewed that PR (:D).
2024-12-29 20:10:37 +00:00
..
asm Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
callconv make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
spec Auto merge of #134765 - Noratrieb:linux-none-cant-unwind-silly, r=jieyouxu 2024-12-29 20:10:37 +00:00
json.rs compiler: Move impl of ToJson for abi::Endian 2024-10-11 17:41:52 -07:00
lib.rs compiler: Wire {TyAnd,}Layout into rustc_abi 2024-10-11 17:41:52 -07:00
target_features.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00