Could it be possible for rusti to spawn a task that runs the expression, and then if that results in a fail! it would become a simple child-task failure cleanup, which in this case means printing the appropriate error message?
Of course, if there is a lot of state, this might not be feasible, but if the compile was completed in the main task and the child task only handled the actual run, it might work. Depending of course on how compilation is done for rusti.
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev