rust-hotswap
rust-hotswap copied to clipboard
Any way to auto hotswap all functions?
Would be neat if it were possible to automatically implicitly annotate all functions (presumably other than main) as hot swappable. That way you can toggle the hotswap feature easily on/off between dev & customer builds. Is that a possibility?
Well, you can already toggle it fairly easily, if you remove the hotswap_header
it should "toggle off" the hotswap, but I'll look into it.
Well I meant it's easy to turn it on/off for a project because you don't have to annotate every single function manually (i.e. can add new functions without thinking about it). This is a really interesting project btw. At some point I'll have to dig into how it works.