Commit missing change for rustup
This commit is contained in:
parent
12c92a32f6
commit
9fb167e711
@ -8,7 +8,7 @@ pub(crate) fn maybe_create_entry_wrapper(tcx: TyCtxt<'_>, module: &mut Module<im
|
||||
|
||||
let (main_def_id, use_start_lang_item) = match tcx.entry_fn(LOCAL_CRATE) {
|
||||
Some((def_id, entry_ty)) => (
|
||||
def_id,
|
||||
def_id.to_def_id(),
|
||||
match entry_ty {
|
||||
EntryFnType::Main => true,
|
||||
EntryFnType::Start => false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user