2 ms·
> Functions that require some amount of optimization to prove that they do not panic may no longer compile in debug mode after being marked #[no_panic]. So you
by vlovich123 2y ago
> Functions that require some amount of optimization to prove that they do not panic may no longer compile in debug mode after being marked #[no_panic].
So you’re probably going to have to protect this with a cfg_attr to only apply the no_panic in release only.
- Yoric 2y agoProbably, yes. That or forcing compilation to always target release.