rust-hotswap icon indicating copy to clipboard operation
rust-hotswap copied to clipboard

Any way to auto hotswap all functions?

Open vlovich opened this issue 7 years ago • 2 comments

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?

vlovich avatar Dec 17 '17 18:12 vlovich

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.

draivin avatar Dec 18 '17 23:12 draivin

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.

vlovich avatar Dec 19 '17 15:12 vlovich