crosvm/tools/examples/baremetal/.cargo/config.toml
Anton Romanov a4cb63d7ce crosvm: add example rust baremetal app that can be booted with crosvm
BUG=none
TEST=`cargo run`

Change-Id: I97eb56eec0d08c67e62755ef21b5ac0cd3e9a461
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3638965
Tested-by: kokoro <noreply+kokoro@google.com>
Auto-Submit: Anton Romanov <romanton@google.com>
Commit-Queue: Anton Romanov <romanton@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2022-05-10 23:36:47 +00:00

12 lines
335 B
TOML

[unstable]
build-std-features = ["compiler-builtins-mem"]
build-std = ["core", "compiler_builtins"]
[build]
target = "x86_64-naked.json"
[target.x86_64-naked]
rustflags = [
"-C", "link-arg=-Tlayout.ld",
]
#Example for running with debugging
#runner = "crosvm run --disable-sandbox --gdb 7777"
runner = "crosvm run --disable-sandbox"