rust/compiler/rustc_codegen_ssa/src
Michael Goulet 2a9525bb90
Rollup merge of #127766 - folkertdev:c-cmse-nonsecure-entry, r=jackh726
add `extern "C-cmse-nonsecure-entry" fn`

tracking issue #75835

in https://github.com/rust-lang/rust/issues/75835#issuecomment-1183517255 it was decided that using an abi, rather than an attribute, was the right way to go for this feature.

This PR adds that ABI and removes the `#[cmse_nonsecure_entry]` attribute. All relevant tests have been updated, some are now obsolete and have been removed.

Error 0775 is no longer generated. It contains the list of targets that support the CMSE feature, and maybe we want to still use this? right now a generic "this abi is not supported on this platform" error is returned when this abi is used on an unsupported platform. On the other hand, users of this abi are likely to be experienced rust users, so maybe the generic error is good enough.
2024-09-21 15:18:55 -04:00
..
back Rollup merge of #130116 - veera-sivarajan:freeze-suggestions, r=chenyukang 2024-09-18 04:42:31 +02:00
debuginfo Do not unnecessarily eval consts in codegen 2024-09-20 20:38:11 -04:00
mir Auto merge of #129283 - saethlin:unreachable-allocas, r=scottmcm 2024-09-21 13:48:14 +00:00
traits Reorder ConstMethods. 2024-09-19 20:10:42 +10:00
assert_module_sources.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
base.rs Do not unnecessarily eval consts in codegen 2024-09-20 20:38:11 -04:00
codegen_attrs.rs remove #[cmse_nonsecure_entry] 2024-09-21 13:05:21 +02:00
common.rs Clean up formatting. 2024-09-17 16:24:35 +10:00
errors.rs Minimize visibilities. 2024-09-17 16:24:33 +10:00
lib.rs Rollup merge of #130457 - nnethercote:cleanup-codegen-traits, r=bjorn3 2024-09-18 17:49:43 +02:00
meth.rs Minimize visibilities. 2024-09-17 16:24:33 +10:00
mono_item.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
size_of_val.rs Clean up formatting. 2024-09-17 16:24:35 +10:00
target_features.rs Minimize visibilities. 2024-09-17 16:24:33 +10:00