We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f22ab98 commit 3a869caCopy full SHA for 3a869ca
src/main_shim.rs
@@ -15,7 +15,7 @@ pub(crate) fn maybe_create_entry_wrapper(
15
unwind_context: &mut UnwindContext,
16
is_jit: bool,
17
) {
18
- let (main_def_id, is_main_fn) = match tcx.entry_fn(LOCAL_CRATE) {
+ let (main_def_id, is_main_fn) = match tcx.entry_fn(()) {
19
Some((def_id, entry_ty)) => (
20
def_id,
21
match entry_ty {
0 commit comments