Error: Failed to find kernel binary in cargo metadata output
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rust
- Domain
- build-system, operating-systems
Research direction
Reproduce cargo bootimage --target ./x64_86-darkos.json on Windows 11 and compare the cargo metadata output with the binary produced in the target folder. Start with the bootimage handling of cargo metadata and the x64_86-darkos.json target; done means the generated kernel binary is correctly identified instead of reporting that it is missing.
Written by the indexing model from the issue text.
Description
I was following the OS tutorial, and ran into an issue when using 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)
- Dominant language
- Rust
- Stars
- 906
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rust-osdev/bootimage
-
-Z flags not passed Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rust-osdev/bootimage#103 · 9 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
rust-osdev/bootimage#110 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
rust-osdev/bootimage#109 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
rust-osdev/bootimage#98 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
rust-osdev/bootimage#94 · 1 comment ·
All issues in rust-osdev/bootimage
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug core
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Openfuzz
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
linebender/vello_svg#90 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100