> The restraint part is that we have no story for handling or propagating C++ > exceptions into rust failures yet. We could do it with try/catch blocks on > all upcalls and native calls, possibly, but it'd take some care and a degree > of certainty that it's the right approach that I don't yet have. So there > are no exceptions used in librustrt for now.
I actually think this is a sane decision. It'll require a peculiar style of C++ programming, but is probably still less burdensome than properly dealing with exceptions (which, on cross-language boundaries, tends to be extremely painful). _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
