summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/attributes.rs
AgeCommit message (Collapse)AuthorLines
2024-09-24codegen_ssa: consolidate tied feature checkingDavid Wood-20/+2
`rustc_codegen_llvm` and `rustc_codegen_gcc` duplicated logic for checking if tied target features were partially enabled. This commit consolidates these checks into `rustc_codegen_ssa` in the `codegen_fn_attrs` query, which also is run pre-monomorphisation for each function, which ensures that this check is run for unused functions, as would be expected.
2024-08-07Hide implicit target features from diagnostics when possibleCaleb Zulawski-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-10Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into masterGuillaume Gomez-4/+10
2024-03-05Merge commit 'b385428e3ddf330805241e7758e773f933357c4b' into ↵Guillaume Gomez-36/+41
subtree-update_cg_gcc_2024-03-05
2024-01-30Remove `ffi_returns_twice` featureclubby789-3/+0
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
Also add some `dcx` methods to types that wrap `TyCtxt`, for easier access.
2023-10-26Merge commit 'e4fe941b11a55c5005630696e9b6d81c65f7bd04' into ↵Antoni Boucher-0/+3
subtree-update_cg_gcc_2023-10-25
2023-10-09Merge commit '11a0cceab966e5ff1058ddbcab5977e8a1d6d290' into ↵Antoni Boucher-63/+39
subtree-update_cg_gcc_2023-10-09
2023-06-19Merge commit '1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6' into ↵Antoni Boucher-0/+39
sync-cg_gcc-2023-06-19
2023-03-05Fix for diagnosticsAntoni Boucher-5/+6
2023-03-05Merge commit '08a6d6e16b5efe217123e780398969946266268f' into ↵Antoni Boucher-0/+112
sync-cg_gcc-2023-03-04