rust/compiler/rustc_target/src
bors fd98df8f14 Auto merge of #135085 - knickish:m68k_unknown_none, r=workingjubilee
add m68k-unknown-none-elf target

r? `@workingjubilee`

The existing `m68k-unknown-linux-gnu` target builds `std` by default, requires atomics, and has a base cpu with an fpu. A smaller/more embedded target is desirable both to have a baseline target for the ISA, as well to make debugging easier for working on the llvm backend. Currently this target is using the `M68010` as the minimum CPU due, but as missing features are merged into the `M68k` llvm backend I am hoping to lower this further.

I have been able to build very small crates using a toolchain built against this target (together with a later version of `object`) using the configuration described in the target platform-support documentation, although getting anything of substantial complexity to build quickly hits errors in the llvm backend
2025-01-06 05:23:55 +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 #135085 - knickish:m68k_unknown_none, r=workingjubilee 2025-01-06 05:23:55 +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 add dedicated type for ABI target feature constraints 2025-01-05 10:46:30 +01:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00