From c712b279e70607f76cb4f9ae0ac9024acd55d1be Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Sat, 31 Dec 2022 11:09:23 +0800 Subject: [PATCH] fix for rust-analyzer warning --- .vscode/settings.json | 6 +++--- user/Cargo.toml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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/user/Cargo.toml b/user/Cargo.toml index 8edd701a..d3384a73 100644 --- a/user/Cargo.toml +++ b/user/Cargo.toml @@ -11,6 +11,6 @@ edition = "2018" [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 -- GitLab