diff --git a/uniffi_bindgen/src/scaffolding/templates/Checksums.rs b/uniffi_bindgen/src/scaffolding/templates/Checksums.rs index a59009d169..bfe3ee4d2f 100644 --- a/uniffi_bindgen/src/scaffolding/templates/Checksums.rs +++ b/uniffi_bindgen/src/scaffolding/templates/Checksums.rs @@ -1,5 +1,5 @@ {%- for (name, checksum) in ci.iter_checksums() %} -#[no_mangle] +#[unsafe(no_mangle)] #[doc(hidden)] pub extern "C" fn r#{{ name }}() -> u16 { {{ checksum }}