summaryrefslogtreecommitdiff
path: root/kernel/.cargo/config
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-11-15 07:33:59 +0100
committerDennis Kobert <dennis@kobert.dev>2019-11-15 07:33:59 +0100
commit6f5f69cf0496b53b7a353cb414666802d7261ad6 (patch)
treeca0592cede2ccc2f3fcc63f37d9deb4b56fb9173 /kernel/.cargo/config
parent67df24a850b6dc070382289d09c70e369726cac4 (diff)
Rework build systemexceptions
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"
+