Failed to execute "cargo run" but the binary file was built and can be run manually.
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- rust
調査の方向性
ドキュメントに記載された cargo run のセットアップと、リポジトリの config.toml 設定から始めます。報告されている Rocky Linux と Rust のバージョンで失敗を再現し、その後、cargo run が実行するコマンドと、手動では動作する qemu-system-x86_64 コマンドを比較します。完了条件は、ドキュメントに記載された設定で、手動実行を必要とせずにビルド済みの bootimage が QEMU を通じて実行されることです。
索引モデルが issue の本文から書いたものです。
説明
Hello, everyone.
I'm using bootimage to develop. When I began to run "cargo run" after setting config.toml by following this, cargo gave me a error:
Running:
qemu-system-x86_64 -drive format=raw,file=target/x86_64-kernel/debug/bootimage-kernel.bin
Error: Failed to execute QEMU run command"qemu-system-x86_64" "-drive" "format=raw,file=target/x86_64-kernel/debug/bootimage-kernel.bin": An I/O error occurred: No such file or directory (os error 2)
After running the command manually, I found that the binary file was built successfully and I can use qemu to run it.
How can I solve it?
Thanks.
System: Rocky Linux 10.2 x86_64
Rustc&Cargo Version: 1.99.0-nightly (af3d95584 2026-07-09)
Bootimage: 0.10.4
- 主要言語
- Rust
- スター
- 906
- フォーク
- 70
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-osdev/bootimage のほかの issue
-
-Z flags not passed オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
rust-osdev/bootimage#103 · コメント 9 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
rust-osdev/bootimage#109 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
rust-osdev/bootimage#98 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
rust-osdev/bootimage#94 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
rust-osdev/bootimage#93 · コメント 1 件 ·
rust-osdev/bootimage の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
bug core
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW オープンfuzz
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/ClickHouse#122114 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
linebender/vello_svg#90 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100