Get the latest tech news
Subsecond: A runtime hotpatching engine for Rust hot-reloading
Subsecond: Hot-patching for Rust
Instead, an external tool compiles only the parts of your project that changed, links them together using the addresses of the functions in your running program, and then sends the new jump table to your application. In practice, frameworks that implement subsecond patching properly will throw out the old state and thus you should never witness a segfault due to misalignment or size changes. To add support for the Dioxus Devtools protocol to your app, you can use the dioxus-devtools crate which provides a connect method that will automatically apply patches to your application.
Or read this on Hacker News