From 5d28bfcfd6086c3328837de9695099ea39048d0d Mon Sep 17 00:00:00 2001 From: Fenrir Date: Sun, 19 Aug 2018 17:48:00 -0600 Subject: Update for nightly-2018-08-18 --- ctr-std/src/rt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctr-std/src/rt.rs') 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; -- cgit v1.2.3