diff options
Diffstat (limited to 'ctr-std/src/rt.rs')
| -rw-r--r-- | ctr-std/src/rt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctr-std/src/rt.rs b/ctr-std/src/rt.rs index e139276..fdaf2a8 100644 --- a/ctr-std/src/rt.rs +++ b/ctr-std/src/rt.rs @@ -29,7 +29,7 @@ pub use panicking::{begin_panic, begin_panic_fmt, update_panic_count}; // To reduce the generated code of the new `lang_start`, this function is doing // the real work. #[cfg(not(test))] -fn lang_start_internal(main: &(Fn() -> i32 + Sync + ::panic::RefUnwindSafe), +fn lang_start_internal(main: &(dyn Fn() -> i32 + Sync + ::panic::RefUnwindSafe), argc: isize, argv: *const *const u8) -> isize { use panic; use sys; |