Skip to content

Commit 579627b

Browse files
committed
improper_ctypes: fix fallout
1 parent cc3d5e3 commit 579627b

File tree

1 file changed

+1
-0
lines changed
  • src/libstd/sys/common/unwind

1 file changed

+1
-0
lines changed

src/libstd/sys/common/unwind/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ fn rust_panic(cause: Box<Any + Send + 'static>) -> ! {
192192
/// Entry point of panic from the libcore crate.
193193
#[lang = "panic_fmt"]
194194
#[unwind]
195+
#[allow(improper_ctypes)]
195196
pub extern fn rust_begin_unwind(msg: fmt::Arguments,
196197
file: &'static str, line: u32) -> ! {
197198
begin_unwind_fmt(msg, &(file, line))

0 commit comments

Comments
 (0)