Closed chriskrycho closed 2 days ago
extern
unsafe extern
safe
#[no_mangle]
#[unsafe(no_mangle)]
GitHub is… confused. I am going to close and reopen this PR and see if that helps; if not I will simply recreate it.
Couldn't re-open it, so I recreated it as #4111.
extern
now requiresunsafe extern
, but in turn allows functions within it to be marked assafe
. Add examples to both effects within the text, and update listing numbers accordingly.#[no_mangle]
now requires#[unsafe(no_mangle)]