compiler: remove misleading 'c' from abi_c_cmse_nonsecure_call feature

This commit is contained in:
Jubilee Young
2025-06-24 13:09:55 -07:00
parent 35deb5bce4
commit 4bdf1c574a
4 changed files with 5 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ pub fn extern_abi_stability(abi: ExternAbi) -> Result<(), UnstableAbi> {
}), }),
ExternAbi::CmseNonSecureCall => Err(UnstableAbi { ExternAbi::CmseNonSecureCall => Err(UnstableAbi {
abi, abi,
feature: sym::abi_c_cmse_nonsecure_call, feature: sym::abi_cmse_nonsecure_call,
explain: GateReason::Experimental, explain: GateReason::Experimental,
}), }),
ExternAbi::CmseNonSecureEntry => Err(UnstableAbi { ExternAbi::CmseNonSecureEntry => Err(UnstableAbi {

View File

@@ -54,6 +54,7 @@ declare_features! (
/// Allows using the `amdgpu-kernel` ABI. /// Allows using the `amdgpu-kernel` ABI.
(removed, abi_amdgpu_kernel, "1.77.0", Some(51575), None, 120495), (removed, abi_amdgpu_kernel, "1.77.0", Some(51575), None, 120495),
(removed, abi_c_cmse_nonsecure_call, "CURRENT_RUSTC_VERSION", Some(81391), Some("renamed to abi_cmse_nonsecure_call"), 142146),
(removed, advanced_slice_patterns, "1.42.0", Some(62254), (removed, advanced_slice_patterns, "1.42.0", Some(62254),
Some("merged into `#![feature(slice_patterns)]`"), 67712), Some("merged into `#![feature(slice_patterns)]`"), 67712),
(removed, allocator, "1.0.0", None, None), (removed, allocator, "1.0.0", None, None),

View File

@@ -353,8 +353,8 @@ declare_features! (
/// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`. /// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`.
(unstable, abi_avr_interrupt, "1.45.0", Some(69664)), (unstable, abi_avr_interrupt, "1.45.0", Some(69664)),
/// Allows `extern "C-cmse-nonsecure-call" fn()`. /// Allows `extern "cmse-nonsecure-call" fn()`.
(unstable, abi_c_cmse_nonsecure_call, "1.51.0", Some(81391)), (unstable, abi_cmse_nonsecure_call, "CURRENT_RUSTC_VERSION", Some(81391)),
/// Allows `extern "custom" fn()`. /// Allows `extern "custom" fn()`.
(unstable, abi_custom, "CURRENT_RUSTC_VERSION", Some(140829)), (unstable, abi_custom, "CURRENT_RUSTC_VERSION", Some(140829)),
/// Allows `extern "gpu-kernel" fn()`. /// Allows `extern "gpu-kernel" fn()`.

View File

@@ -406,6 +406,7 @@ symbols! {
abi_amdgpu_kernel, abi_amdgpu_kernel,
abi_avr_interrupt, abi_avr_interrupt,
abi_c_cmse_nonsecure_call, abi_c_cmse_nonsecure_call,
abi_cmse_nonsecure_call,
abi_custom, abi_custom,
abi_efiapi, abi_efiapi,
abi_gpu_kernel, abi_gpu_kernel,