rust-osdev / rust-osdev/bootloader
Docs on how to use UEFI feature
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Description
Currently if I run my os:
[dependencies.bootloader]
version = "0.10.0"
features = ["binary", "uefi_bin"]
I get:
Compiling bootloader v0.10.0
error: failed to run custom build command for `bootloader v0.10.0`
Caused by:
process didn't exit successfully: `H:\Andy\Rust\aero\target\debug\build\bootloader-2cdadb50cdaed247\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'The UEFI bootloader must be compiled for the `x86_64-unknown-uefi` target.', C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\bootloader-0.10.0\build.rs:41:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Which is kindof obvious but until bootimage get support for it?
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.
Research direction
Start with the UEFI feature configuration shown in the issue and inspect the reported build.rs error for bootloader v0.10.0. Determine where the project's UEFI usage guidance belongs and document the required target and the current bootimage limitation; done means a user can follow the instructions without encountering this unexplained build failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100