about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/json.rs
AgeCommit message (Collapse)AuthorLines
2025-06-11compiler: Change c_int_width to be an integer typeJubilee Young-1/+7
2025-06-07store `target.min_global_align` as an `Align`Folkert de Vries-2/+19
2025-06-03compiler: use CanonAbi for entry_abiJubilee Young-13/+18
makes entry_abi a lowering of the ABI string, so now it can be ```json "entry_abi": "C", "entry_abi": "win64", "entry_abi": "aapcs", ```
2025-06-03compiler: add AbiMapJubilee Young-1/+0
- Add AbiMapping for encoding the nuance of deprecated ABIs
2025-04-04Rollup merge of #138949 - madsmtm:rename-to-darwin, r=WaffleLapkinMatthias Krüger-2/+2
Rename `is_like_osx` to `is_like_darwin` Replace `is_like_osx` with `is_like_darwin`, which more closely describes reality (OS X is the pre-2016 name for macOS, and is by now quite outdated; Darwin is the overall name for the OS underlying Apple's macOS, iOS, etc.). ``@rustbot`` label O-apple r? compiler
2025-03-25Rename `is_like_osx` to `is_like_darwin`Mads Marquart-2/+2
2025-03-19Make default_codegen_backend serializableVladyslav Tsilytskyi-0/+8
2025-02-17Adds binary_format to rustc target specsPyrode-0/+15
2025-02-08Rustfmtbjorn3-4/+4
2025-02-03Auto merge of #136146 - RalfJung:x86-abi, r=workingjubileebors-0/+15
Explicitly choose x86 softfloat/hardfloat ABI Part of https://github.com/rust-lang/rust/pull/135408: Instead of choosing this based on the target features listed in the target spec, make that choice explicit. All built-in targets are being updated here; custom (JSON-defined) x86 (32bit and 64bit) softfloat targets need to explicitly set `rustc-abi` to `x86-softfloat`.
2025-02-03add rustc_abi to control ABI decisions LLVM does not have flags for, and use ↵Ralf Jung-0/+15
it for x86 softfloat
2025-01-16Target option to require explicit cpuFlakebi-0/+2
Some targets have many different CPUs and no generic CPU that can be used as a default. For these targets, the user needs to explicitly specify a CPU through `-C target-cpu=`. Add an option for targets and an error message if no CPU is set. This affects the proposed amdgpu and avr targets.
2024-12-30add llvm_floatabi field to target spec that controls FloatABITypeRalf Jung-0/+14
2024-11-28move target JSON (de)serialization to separate fileRalf Jung-0/+798