[build] target = "x86_64-kernel" target-dir = "build/target" [unstable] build-std = ["core", "compiler_builtins", "alloc"] build-std-features = ["compiler-builtins-mem"] [env] RUST_TARGET_PATH = { value = "kernel", relative = true } [target.x86_64-kernel] runner = "scripts/run.sh" [registry] default = "gitea" [registries.gitea] index = "sparse+https://git.zxq5.dev/api/packages/OsDev/cargo/" # Sparse index # index = "https://gitea.example.com/{owner}/_cargo-index.git" # Git # [net] # git-fetch-with-cli = true