Fix cargo warnings in userland.
This commit is contained in:
parent
d777b8f4ab
commit
ab75085f32
3 changed files with 1 additions and 8 deletions
|
|
@ -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! {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue