From 368d6f9bfbf51129b07d5624cdecfaa124070459 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 14 May 2018 11:18:19 +0000 Subject: [PATCH] satman: remove useless _Unwind_Resume. --- artiq/firmware/satman/main.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/artiq/firmware/satman/main.rs b/artiq/firmware/satman/main.rs index c6a0d7fca..3c064d266 100644 --- a/artiq/firmware/satman/main.rs +++ b/artiq/firmware/satman/main.rs @@ -298,11 +298,3 @@ pub extern fn panic_fmt(args: core::fmt::Arguments, file: &'static str, line: u3 println!("panic at {}:{}: {}", file, line, args); loop {} } - -// Allow linking with crates that are built as -Cpanic=unwind even if we use -Cpanic=abort. -// This is never called. -#[allow(non_snake_case)] -#[no_mangle] -pub extern "C" fn _Unwind_Resume() -> ! { - loop {} -}