mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-03-15 16:46:05 +01:00
move
This commit is contained in:
parent
de90913d46
commit
54e0e7604e
23 changed files with 77 additions and 33 deletions
|
|
@ -6,7 +6,7 @@ use core::ffi::c_char;
|
|||
|
||||
use libuwuc::{println, utils::SharedThinCstr};
|
||||
|
||||
extern crate libuwuc;
|
||||
extern crate c;
|
||||
|
||||
#[panic_handler]
|
||||
#[cfg(not(test))]
|
||||
|
|
@ -27,11 +27,3 @@ extern "C" fn main(_argc: i32, _argv: *const *const c_char) -> i32 {
|
|||
println!("PWD={pwd:?}");
|
||||
0
|
||||
}
|
||||
|
||||
// libcore seems to require this symbol, even though it's unused.
|
||||
#[no_mangle]
|
||||
fn rust_eh_personality() {
|
||||
unsafe {
|
||||
libuwuc::trap!();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue