Skip to content

Commit 38b0b32

Browse files
multivers-runner: add missing extern "C" to main
1 parent ed7f671 commit 38b0b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multivers-runner/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod build;
66
use build::{Build, Executable};
77

88
#[no_mangle]
9-
pub unsafe fn main(argc: i32, argv: *const *const i8, envp: *const *const i8) {
9+
pub unsafe extern "C" fn main(argc: i32, argv: *const *const i8, envp: *const *const i8) {
1010
let result = run(argc, argv, envp);
1111

1212
proc_exit::exit(result);

0 commit comments

Comments
 (0)