We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d6ac05 commit 47ddeecCopy full SHA for 47ddeec
src/main_shim.rs
@@ -100,7 +100,9 @@ pub(crate) fn maybe_create_entry_wrapper(
100
101
let main_func_ref = m.declare_func_in_func(main_func_id, &mut bcx.func);
102
103
- let result = if is_main_fn && ignore_lang_start_wrapper {
+ let result = if is_main_fn && false
104
+ /*&& ignore_lang_start_wrapper*/
105
+ {
106
// regular main fn, but ignoring #[lang = "start"] as we are running in the jit
107
// FIXME set program arguments somehow
108
let call_inst = bcx.ins().call(main_func_ref, &[]);
0 commit comments