From 1118d708b1e004577301861c143878470b34f89b Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Thu, 15 Aug 2019 20:53:22 +0000 Subject: [PATCH] rust: Actually provide trap handler --- rust/interrupt/.cargo/config | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 rust/interrupt/.cargo/config diff --git a/rust/interrupt/.cargo/config b/rust/interrupt/.cargo/config new file mode 100644 index 0000000..27904bc --- /dev/null +++ b/rust/interrupt/.cargo/config @@ -0,0 +1,4 @@ +[target.riscv64gc-unknown-none-elf] +rustflags = [ + "-C", "link-arg=-Ttrap.x", +]