Unsafe attributes

Changes in new versions / Rust 2024

// *** before: ***
#[no_mangle]
pub extern "C" fn add(a: i32, b: i32) -> i32 {
    a + b
}

// *** in version Rust 2024: ***
// attributes able to break the rules of the language are marked unsafe
#[unsafe(no_mangle)]
pub extern "C" fn add(a: i32, b: i32) -> i32 {
    a + b
}