mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fix eh_personality linker errors (#364)
This commit is contained in:
@@ -89,7 +89,8 @@ fn enable_write_protect_bit() {
|
|||||||
|
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
#[lang = "eh_personality"]
|
#[lang = "eh_personality"]
|
||||||
extern "C" fn eh_personality() {}
|
#[no_mangle]
|
||||||
|
pub extern "C" fn eh_personality() {}
|
||||||
|
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
#[lang = "panic_fmt"]
|
#[lang = "panic_fmt"]
|
||||||
|
|||||||
Reference in New Issue
Block a user