Add a uniq test module for yunq in rust.

This commit is contained in:
Drew Galbraith 2024-08-29 21:27:27 -07:00
parent c1db6cb11f
commit 4ee8dc924c
13 changed files with 132 additions and 10 deletions

View file

@ -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 {