From 17cac5fe6421e144619f4828409e8174986f3e3b Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Wed, 3 Aug 2022 09:00:58 -0400 Subject: =?UTF-8?q?Initial=20bootstrap=20into=20=E2=80=98main=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cargo/config.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .cargo/config.toml (limited to '.cargo/config.toml') diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..f383523 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,10 @@ +[alias] +t = "test --target x86_64-unknown-linux-gnu" +xtask = "run --package xtask --" + +[build] +target = "riscv32imac-unknown-none-elf" + +[target.riscv32imac-unknown-none-elf] +rustflags = ["-C", "link-arg=-Tdevice.lds", "-C", "link-arg=-nostdlib"] +linker = "riscv32-elf-ld" -- cgit v1.2.3