Nemeski ( nemeski@mander.xyz ) to Rust@programming.dev · 1 year agoSwitching to Rust's own mangling scheme on nightlyblog.rust-lang.orgexternal-linkmessage-square6linkfedilinkarrow-up136
arrow-up136external-linkSwitching to Rust's own mangling scheme on nightlyblog.rust-lang.orgNemeski ( nemeski@mander.xyz ) to Rust@programming.dev · 1 year agomessage-square6linkfedilink
minus-squareTehPers ( TehPers@beehaw.org ) linkfedilinkEnglisharrow-up3·1 year agoNo, the attribute is unsafe. An unsafe function is marked unsafe fn. Also, unsafe by itself just means there are invariants that must me manually upheld to avoid unsound behavior. If those invariants are upheld, then it doesn’t matter if it’s unsafe.
No, the attribute is unsafe. An unsafe function is marked
unsafe fn.Also, unsafe by itself just means there are invariants that must me manually upheld to avoid unsound behavior. If those invariants are upheld, then it doesn’t matter if it’s unsafe.