Add a uniq test module for yunq in rust.
This commit is contained in:
parent
c1db6cb11f
commit
4ee8dc924c
13 changed files with 132 additions and 10 deletions
|
|
@ -5,6 +5,8 @@ use crate::zion;
|
|||
use crate::zion::z_cap_t;
|
||||
use crate::zion::ZError;
|
||||
use core::ffi::c_void;
|
||||
|
||||
#[cfg(feature = "hosted")]
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
#[must_use]
|
||||
|
|
@ -18,6 +20,7 @@ fn syscall<T>(id: u64, req: &T) -> Result<(), ZError> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(feature = "hosted")]
|
||||
#[panic_handler]
|
||||
fn panic(info: &PanicInfo) -> ! {
|
||||
unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue