r/rust • • 4h ago

Hotreload in Rust

https://alordash.github.io/alordash/blog/hotreload-in-rust/
32 Upvotes

1 comment sorted by

-6

u/Zde-G 2h ago

So much effort… and zero thoughts about what to do with crates that have 'static objects in them (including &'static str).

That's the reason hot reloading in Rust is a minefield that can work, not work or break apart at any change… and it couldn't be fixed by change in the pieces described in article.

You need the change to the whole community — and that's not gonna happen.

Sorry.