fix net support for user net app
This commit is contained in:
parent
dd4678ff0e
commit
02be18684d
3 changed files with 9 additions and 1 deletions
|
@ -2,13 +2,14 @@
|
|||
#![no_main]
|
||||
|
||||
use alloc::string::String;
|
||||
use user_lib::{connect, write, read};
|
||||
|
||||
#[macro_use]
|
||||
extern crate user_lib;
|
||||
#[macro_use]
|
||||
extern crate alloc;
|
||||
|
||||
use user_lib::{connect, write, read};
|
||||
|
||||
#[no_mangle]
|
||||
pub fn main() -> i32 {
|
||||
println!("udp test open!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue