summaryrefslogtreecommitdiff
path: root/kernel/.cargo/config
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/.cargo/config')
-rw-r--r--kernel/.cargo/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/.cargo/config b/kernel/.cargo/config
index a0b86ef..b74f97c 100644
--- a/kernel/.cargo/config
+++ b/kernel/.cargo/config
@@ -1,2 +1,6 @@
[build]
target = "x86_64-uff.json"
+rustflags = ["-Clink-arg=-r","-Clink-dead-code"]
+
+[target.'cfg(target_os = "none")']
+runner = "./run test -test"