Open darkdarcool opened 10 months ago
I was following the OS tutorial, and ran into an issue when using cargo bootimage.
cargo bootimage
→ cargo bootimage --target ./x64_86-darkos.json Building kernel Compiling compiler_builtins v0.1.105 Compiling core v0.0.0 (C:\Users\ticta\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core) Compiling bootloader v0.9.23 Compiling rustc-std-workspace-core v1.99.0 (C:\Users\ticta\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\rustc-std-workspace-core) Compiling os v0.1.0 (C:\Users\ticta\Deno\os) Finished dev [unoptimized + debuginfo] target(s) in 21.97s Error: Failed to find kernel binary in cargo metadata output
When looking through to target folder, it did spit out a file that looks to be the kernel binary:
Not exactly sure how to solve this issue.
My os is Windows (11) and my cargo version is cargo 1.77.0-nightly (1ae631085 2024-01-17)
cargo 1.77.0-nightly (1ae631085 2024-01-17)
Also, my config.toml looks like this:
config.toml
[unstable] build-std-features = ["compiler-builtins-mem"] build-std = ["core", "compiler_builtins"] [build] target = "C:\\Users\\ticta\\Deno\\os\\x64_86-darkos.json"
I was following the OS tutorial, and ran into an issue when using
cargo bootimage
.When looking through to target folder, it did spit out a file that looks to be the kernel binary:
Not exactly sure how to solve this issue.
My os is Windows (11) and my cargo version is
cargo 1.77.0-nightly (1ae631085 2024-01-17)