Hacker News new | ask | show | jobs
by marricks 2125 days ago
Ahh that makes a lot of sense, if you're going to have a compiler insert the result of a function having conditional branching seems a bit gnarly I guess?
2 comments

For the history of this feature request, see https://github.com/rust-lang/rust/issues/29608 as a starting point.
It's conditional based on what's ultimately constant data, so you end up with predictable output regardless.