rksm / hot-lib-reloader-rs

Reload Rust code without app restarts. For faster feedback cycles.
MIT License
618 stars 20 forks source link

support #[unsafe(no_mangle)] for rust 2024 #42

Open SArpnt opened 1 week ago

SArpnt commented 1 week ago

rust 2024 adds unsafe attributes and makes no_mangle and other abi attributes unsafe. last i remember this library won't check for unsafe(no_mangle) so it won't work in the new edition or with the current lint. https://doc.rust-lang.org/nightly/edition-guide/rust-2024/unsafe-attributes.html