forked from metaverse/kernel-dev
解决在vscode中凭空出现的报错
This commit is contained in:
parent
8d7e2b1a88
commit
cfc961e5c3
|
@ -0,0 +1,2 @@
|
||||||
|
[build]
|
||||||
|
target = ["x86_64-unknown-none"]
|
|
@ -1,3 +1,4 @@
|
||||||
|
.vscode
|
||||||
/test/metaverse.img
|
/test/metaverse.img
|
||||||
*.o
|
*.o
|
||||||
*.tfo
|
*.tfo
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "Linux",
|
|
||||||
"includePath": [
|
|
||||||
"${workspaceFolder}/include"
|
|
||||||
],
|
|
||||||
"defines": [],
|
|
||||||
"compilerPath": "/usr/bin/gcc",
|
|
||||||
"cStandard": "c17",
|
|
||||||
"intelliSenseMode": "linux-gcc-x64",
|
|
||||||
"configurationProvider": "ms-vscode.makefile-tools"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 4
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
"C_Cpp.errorSquiggles": "disabled",
|
|
||||||
"files.associations": {
|
|
||||||
"*.s": "nasm",
|
|
||||||
"LICENCE": "plaintext",
|
|
||||||
"*.h": "c"
|
|
||||||
},
|
|
||||||
"rust-analyzer.imports.preferNoStd" : true,
|
|
||||||
}
|
|
|
@ -5,9 +5,7 @@ edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["staticlib"]
|
crate-type = ["staticlib"]
|
||||||
|
test = false
|
||||||
|
|
||||||
# 此Cargo.toml仅用于rust-analyzer识别rust部分的代码
|
# 此Cargo.toml仅用于rust-analyzer识别rust部分的代码
|
||||||
# 不应使用cargo编译
|
# 不应使用cargo编译
|
||||||
|
|
||||||
[target.'cfg(target_arch = "x86_64")']
|
|
||||||
target = "x86_64-unknown-none"
|
|
||||||
|
|
Loading…
Reference in New Issue