Fix eh_personality linker errors (#364)

This commit is contained in:
Will
2017-11-14 14:21:14 +00:00
committed by Philipp Oppermann
parent 30fcae9dce
commit 3e7aea0d51

View File

@@ -89,7 +89,8 @@ fn enable_write_protect_bit() {
#[cfg(not(test))]
#[lang = "eh_personality"]
extern "C" fn eh_personality() {}
#[no_mangle]
pub extern "C" fn eh_personality() {}
#[cfg(not(test))]
#[lang = "panic_fmt"]