]> git.lizzy.rs Git - rust.git/commit
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)
commit2a08c63631be6e7c03fb01645c51792ec445b1d8
tree3a7db2ef3e090d31570a7a51982a58dfa7906371
parent20e843f202e5e92d549670227b16230c07922c94
parente325ad24f2ef170b2913d97a69da38ca664cb621
Auto merge of #1125 - RalfJung:main-result, r=oli-obk

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.