Tool to help with the .cargo/config
target.$triple.runner
field.
Primarily intended for use with cargo-sysroot
and cargo-image
.
Run cargo install cargo-runner
.
In .cargo/config
toml
[target.$triple]
runner = "cargo runner"
In Cargo.toml
```toml [package.metadata.cargo_runner]
$TARGET_FILE
will be replaced with the path from cargo.command = [ "qemu-system-x8664", "-drive", "format=raw,file=$TARGETFILE" ]
.bin
to the $TARGET_FILE
given by cargo.suffix = ".bin" ```