diff --git a/.vscode/settings.json b/.vscode/settings.json index bf81ab53..6a406554 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,7 @@ // For Rust Analyzer plugin users: "rust-analyzer.cargo.target": "riscv64gc-unknown-none-elf", "rust-analyzer.checkOnSave.allTargets": false, - "rust-analyzer.cargo.features": [ - "board_qemu" - ] + // "rust-analyzer.cargo.features": [ + // "board_qemu" + // ] } \ No newline at end of file diff --git a/easy-fs-fuse/Cargo.toml b/easy-fs-fuse/Cargo.toml index 0527e9b8..5c5e68d5 100644 --- a/easy-fs-fuse/Cargo.toml +++ b/easy-fs-fuse/Cargo.toml @@ -11,6 +11,6 @@ clap = "2.33.3" easy-fs = { path = "../easy-fs" } rand = "0.8.0" -[features] -board_qemu = [] -board_k210 = [] \ No newline at end of file +# [features] +# board_qemu = [] +# board_k210 = [] \ No newline at end of file diff --git a/user/Cargo.toml b/user/Cargo.toml index 18634c3c..a609f4de 100644 --- a/user/Cargo.toml +++ b/user/Cargo.toml @@ -14,6 +14,6 @@ riscv = { git = "https://github.com/rcore-os/riscv", features = ["inline-asm"] } [profile.release] debug = true -[features] -board_qemu = [] -board_k210 = [] \ No newline at end of file +# [features] +# board_qemu = [] +# board_k210 = [] \ No newline at end of file diff --git a/user/src/bin/sig_simple.rs b/user/src/bin/sig_simple.rs index bc886e02..4f5b8809 100644 --- a/user/src/bin/sig_simple.rs +++ b/user/src/bin/sig_simple.rs @@ -3,7 +3,6 @@ extern crate user_lib; -// use user_lib::{sigaction, sigprocmask, SignalAction, SignalFlags, fork, exit, wait, kill, getpid, sleep, sigreturn}; use user_lib::*; fn func() { diff --git a/user/src/bin/sig_simple2.rs b/user/src/bin/sig_simple2.rs index b3fe7eea..28f33bda 100644 --- a/user/src/bin/sig_simple2.rs +++ b/user/src/bin/sig_simple2.rs @@ -3,12 +3,6 @@ extern crate user_lib; -/* -use user_lib::{ - exit, fork, getpid, kill, sigaction, sigprocmask, sigreturn, sleep, waitpid, SignalAction, - SignalFlags, -}; -*/ use user_lib::*; fn func() { diff --git a/user/src/bin/sig_tests.rs b/user/src/bin/sig_tests.rs index ebcc21d7..09055fc0 100644 --- a/user/src/bin/sig_tests.rs +++ b/user/src/bin/sig_tests.rs @@ -3,7 +3,6 @@ extern crate user_lib; -// use user_lib::{sigaction, sigprocmask, SignalAction, SignalFlags, fork, exit, wait, kill, getpid, sleep, sigreturn}; use user_lib::*; fn func() {