5 releases
| 0.1.4 | Feb 6, 2025 |
|---|---|
| 0.1.3 | Feb 6, 2025 |
| 0.1.2 | Jan 27, 2024 |
| 0.1.1 | Mar 29, 2023 |
| 0.1.0 | Mar 26, 2023 |
#189 in Cargo plugins
343 downloads per month
17KB
354 lines
Limine Qemu Cargo Runner
Prerequisites
xorrisofor creating the isogitfor downloading limine
Installation
- Git version: run
install.shorcargo install --path . - Release version:
cargo install cargo-qemu-runner
Usage
- Put
runner = "cargo qemu-runner"in your.cargo/config.toml's[target]section - Specify these keys under
[package.metadata.qemu_runner]section inCargo.toml:limine-branch, the limine binary branch to clone- NOTE: Only branches starting from v4.x are supported
config-file, specified path to the limine config file to useextra-files, specifies extra files to copy to the resulting imagetest-success-exit-code, qemu exit code which is considered successtest-args, extra arguments which are used along withrun-commandfor testsrun-args, extra arguments which are used along withrun-commandrun-command, base command used to run qemu
- Now you can
cargo runyour kernel and it will automatically launch it in qemu
Todo
- Write a portable
xorrisoreplacement in Rust - More configuration options?
- Make it possible to have
cargo-qemu-runneras a dev-dependency instead of requiring installation if possible
Dependencies
~13–23MB
~362K SLoC