From a7989cb77d9ee5c58c24c5276cb8a9ec542e468b Mon Sep 17 00:00:00 2001 From: Sven Kanoldt Date: Sun, 13 Oct 2024 14:22:40 +0200 Subject: [PATCH] remove `no_mangle` from the asm-naked-function test case --- tests/ui/asm/naked-functions.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/ui/asm/naked-functions.rs b/tests/ui/asm/naked-functions.rs index 5c58f1498cc97..e7e5d84f2a5da 100644 --- a/tests/ui/asm/naked-functions.rs +++ b/tests/ui/asm/naked-functions.rs @@ -219,7 +219,6 @@ pub unsafe extern "C" fn compatible_must_use_attributes() -> u64 { #[export_name = "exported_function_name"] #[link_section = ".custom_section"] -#[no_mangle] #[naked] pub unsafe extern "C" fn compatible_ffi_attributes_1() { naked_asm!("", options(raw));