From aa79c8d8b7b0d82178d7396845ab012b644f04fa Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 23 Feb 2022 11:43:41 +0800 Subject: [PATCH] rename exception symbols in host code --- nac3standalone/demo/demo.rs | 2 +- runkernel/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nac3standalone/demo/demo.rs b/nac3standalone/demo/demo.rs index 01dc458f..d27dd839 100644 --- a/nac3standalone/demo/demo.rs +++ b/nac3standalone/demo/demo.rs @@ -53,7 +53,7 @@ pub extern "C" fn output_int32_list(x: &cslice::CSlice) { } #[no_mangle] -pub extern "C" fn __artiq_personality(_state: u32, _exception_object: u32, _context: u32) -> u32 { +pub extern "C" fn __nac3_personality(_state: u32, _exception_object: u32, _context: u32) -> u32 { unimplemented!(); } diff --git a/runkernel/src/main.rs b/runkernel/src/main.rs index d43bc7f3..84f1e323 100644 --- a/runkernel/src/main.rs +++ b/runkernel/src/main.rs @@ -43,7 +43,7 @@ pub extern "C" fn print_int64(x: i64) { } #[no_mangle] -pub extern "C" fn __artiq_personality(_state: u32, _exception_object: u32, _context: u32) -> u32 { +pub extern "C" fn __nac3_personality(_state: u32, _exception_object: u32, _context: u32) -> u32 { unimplemented!(); }