1
Fork 0
- Add test for issue 47446
- Implement the new lint lint_builtin_mixed_export_name_and_no_mangle
- Add suggestion how to fix it
This commit is contained in:
Sven Kanoldt 2024-10-09 14:24:15 +02:00 committed by Sven Kanoldt
parent f00f68245e
commit 1696f534ab
No known key found for this signature in database
GPG key ID: 3696C99F3E0EAF95
9 changed files with 143 additions and 5 deletions

View file

@ -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));