auto merge of #6119 : brson/rust/main, r=brson
r? @ILyoan This pulls all the logic for discovering the crate entry point into a new pass (out of resolve and typeck), then changes it so that main is only looked for at the crate level (`#[main]` can still be used anywhere). I don't understand the special android logic here and worry that I may have broken it.
Showing
src/librustc/middle/entry.rs
0 → 100644
想要评论请 注册 或 登录