runtime: add nac3 exception symbols

This commit is contained in:
Sebastien Bourdeauducq 2022-02-23 11:04:53 +08:00
parent ad656d1e53
commit 0da7b83176

View File

@ -115,6 +115,11 @@ static mut API: &'static [(&'static str, *const ())] = &[
/* exceptions */
api!(_Unwind_Resume = ::unwind::_Unwind_Resume),
api!(__nac3_personality = ::eh_artiq::personality),
api!(__nac3_raise = ::eh_artiq::raise),
api!(__nac3_resume = ::eh_artiq::resume),
api!(__nac3_end_catch = ::eh_artiq::end_catch),
/* legacy exception symbols */
api!(__artiq_personality = ::eh_artiq::personality),
api!(__artiq_raise = ::eh_artiq::raise),
api!(__artiq_resume = ::eh_artiq::resume),