From 6f5f69cf0496b53b7a353cb414666802d7261ad6 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Fri, 15 Nov 2019 07:33:59 +0100 Subject: Rework build system --- kernel/.cargo/config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kernel/.cargo/config') 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" + -- cgit v1.2.3-54-g00ecf