2024-04-13 16:48:51 +08:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
],
|
2024-04-19 23:45:24 +08:00
|
|
|
"rust-analyzer.showUnlinkedFileNotification": false,
|
2024-04-22 01:01:36 +08:00
|
|
|
"files.readonlyInclude": {
|
|
|
|
"**/.rustup/**": true,
|
|
|
|
"**/.cargo/registry/**": true,
|
|
|
|
"**/.cargo/git/**": true,
|
|
|
|
}
|
2024-04-13 16:48:51 +08:00
|
|
|
}
|