There NEEDS to be an os dev attribute!

⚓ Rust    📅 2025-11-15    👤 surdeus    👁️ 6      

surdeus

Ever sense like nightly 2022 they changed stuff like no mangle:
Now you have to do this:

#[unsafe(no_mangle)]

there should be a global osdev attribute:

#[unsafe(os_dev)]

BOOM! your project would need way less unsafe and only needed for actually unsafe stuff.

6 posts - 4 participants

Read full topic

🏷️ Rust_feed