mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
20 lines
652 B
JSON
20 lines
652 B
JSON
{
|
|
"rust-analyzer.cargo.allTargets": false,
|
|
"rust-analyzer.cargo.target": "riscv64imac-unknown-none-elf",
|
|
"rust-analyzer.cargo.extraArgs": [
|
|
"--bin",
|
|
"kernel"
|
|
],
|
|
"rust-analyzer.cargo.extraEnv": {
|
|
"RUSTFLAGS": "-Crelocation-model=static -Ccode-model=medium -Ctarget-feature=+relax -Clink-arg=-Tkernel/src/arch/riscv/linker64.ld"
|
|
},
|
|
"rust-analyzer.linkedProjects": [
|
|
"./kernel/Cargo.toml"
|
|
],
|
|
"rust-analyzer.showUnlinkedFileNotification": false,
|
|
"files.readonlyInclude": {
|
|
"**/.rustup/**": true,
|
|
"**/.cargo/registry/**": true,
|
|
"**/.cargo/git/**": true,
|
|
}
|
|
} |