mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
fix: 修复unified-init导致cargo check失败的问题 (#747)
This commit is contained in:
parent
881ff6f95e
commit
d770de5d53
@ -7,6 +7,13 @@ fn main() {
|
||||
todo!()
|
||||
}
|
||||
|
||||
#[cfg(target_os = "none")]
|
||||
#[panic_handler]
|
||||
#[no_mangle]
|
||||
pub fn panic(_info: &core::panic::PanicInfo) -> ! {
|
||||
loop {}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use system_error::SystemError;
|
||||
|
Loading…
x
Reference in New Issue
Block a user