fix net support for user net app

This commit is contained in:
Yu Chen 2023-02-08 00:04:50 +08:00
parent dd4678ff0e
commit 02be18684d
3 changed files with 9 additions and 1 deletions

View file

@ -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!");