summaryrefslogtreecommitdiff
path: root/kernel/.cargo/config
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-11-15 19:20:20 +0100
committerDennis Kobert <dennis@kobert.dev>2019-11-15 19:20:20 +0100
commit8ee78510c4e182c636bd1ae851e38124985952fd (patch)
tree9c3b7e1ff26acf6c8f40b430fffbae2a2f2409e3 /kernel/.cargo/config
parent6134ec21326f8312d09b69c6cfee749f85846e53 (diff)
parent6f5f69cf0496b53b7a353cb414666802d7261ad6 (diff)
Merge branch 'exceptions'
Diffstat (limited to 'kernel/.cargo/config')
-rw-r--r--kernel/.cargo/config8
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/.cargo/config b/kernel/.cargo/config
index 4a80025..520097b 100644
--- a/kernel/.cargo/config
+++ b/kernel/.cargo/config
@@ -2,5 +2,9 @@
target = "x86_64-uff.json"
rustflags = ["-Clink-arg=-r","-Clink-dead-code"]
-[target.'cfg(target_os = "none")']
-runner = "./run test -serial -test"
+[target.'cfg(all(target_os = "none", feature = "testing_qemu"))']
+runner = "./run -test -serial"
+
+[target.'cfg(all(target_os = "none", not(feature = "testing_qemu")))']
+runner = "./run -test"
+