summaryrefslogtreecommitdiff
path: root/kernel/.cargo/config
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/.cargo/config')
-rw-r--r--kernel/.cargo/config7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/.cargo/config b/kernel/.cargo/config
index b74f97c..992b819 100644
--- a/kernel/.cargo/config
+++ b/kernel/.cargo/config
@@ -2,5 +2,8 @@
target = "x86_64-uff.json"
rustflags = ["-Clink-arg=-r","-Clink-dead-code"]
-[target.'cfg(target_os = "none")']
-runner = "./run test -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"