Fix cargo warnings in userland.

This commit is contained in:
Drew Galbraith 2025-01-26 09:35:23 -08:00
parent d777b8f4ab
commit ab75085f32
3 changed files with 1 additions and 8 deletions

View file

@ -431,12 +431,8 @@ pub fn generate_code(ast: &Vec<Decl>) -> String {
let interface_imports = if any_interfaces(ast) {
quote! {
use alloc::boxed::Box;
use core::ffi::c_void;
use mammoth::cap::Capability;
use mammoth::syscall;
use mammoth::thread;
use yunq::server::YunqServer;
}
} else {
quote! {}