diff --git a/src/rt/main.ll.in b/src/rt/main.ll.in index d956fb86817..4fc22afdaa6 100644 --- a/src/rt/main.ll.in +++ b/src/rt/main.ll.in @@ -16,8 +16,6 @@ declare i32 @rust_start(i32, i32, i32, i32) %task = type { i32, i32, i32, i32, i32, i32, i32, i32 } -@_rust_fetch_this_object_hack = global i32 0 - define i32 @"MAIN"(i32, i32) { %3 = tail call i32 @rust_start(i32 ptrtoint (void (i1*, %task*, %2*, %5*)* @_rust_main to i32), i32 %0, i32 %1, i32 ptrtoint (%0* @_rust_crate_map_toplevel to i32)) ret i32 %3