重写rust核心库,构建中断处理框架 #6

Merged
pointer-to-bios merged 18 commits from pointer-to-bios/metaverse-dev:main into main 2024-05-03 05:45:43 +08:00
5 changed files with 4 additions and 28 deletions
Showing only changes of commit cfc961e5c3 - Show all commits

2
.cargo/config Normal file
View File

@ -0,0 +1,2 @@
[build]
target = ["x86_64-unknown-none"]

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.vscode
/test/metaverse.img
*.o
*.tfo

View File

@ -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
}

View File

@ -1,9 +0,0 @@
{
"C_Cpp.errorSquiggles": "disabled",
"files.associations": {
"*.s": "nasm",
"LICENCE": "plaintext",
"*.h": "c"
},
"rust-analyzer.imports.preferNoStd" : true,
}

View File

@ -5,9 +5,7 @@ edition = "2021"
[lib]
crate-type = ["staticlib"]
test = false
# 此Cargo.toml仅用于rust-analyzer识别rust部分的代码
# 不应使用cargo编译
[target.'cfg(target_arch = "x86_64")']
target = "x86_64-unknown-none"