summaryrefslogtreecommitdiff
path: root/kernel/.cargo/config
diff options
context:
space:
mode:
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"
+