You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An example with a false assertion doesn't terminate #636
I think this may be a duplicated of #545 and I believe it has to do with incorrect unwind logic. I think we should run rmc with abort strategy. I think it's -C panic=abort to avoid the infinite loop.
Additionally, we have to change how we encode the assertion statement.
Activity
[-]An example with an assert false doesn't terminate[/-][+]An example with a false assertion doesn't terminate[/+]celinval commentedon Nov 11, 2021
I think this may be a duplicated of #545 and I believe it has to do with incorrect unwind logic. I think we should run rmc with abort strategy. I think it's
-C panic=abortto avoid the infinite loop.Additionally, we have to change how we encode the assertion statement.
celinval commentedon Dec 7, 2021
I stand corrected. There is a bug on how we are code generating assertions.
Fix assert!() and panic!() code generation.
Fix assert!() and panic!() code generation (#687)