]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #1125 - RalfJung:main-result, r=oli-obk
authorbors <bors@rust-lang.org>
Mon, 23 Dec 2019 16:51:55 +0000 (16:51 +0000)
committerbors <bors@rust-lang.org>
Mon, 23 Dec 2019 16:51:55 +0000 (16:51 +0000)
support main functions with Result return type

Turns out we already properly create the substitution to call the libstd start-fn with an appropriate `main`, we just had an overzealous check in the way.

Fixes https://github.com/rust-lang/miri/issues/1116.


Trivial merge