Explorar o código

Clean before building to avoid getting the wrong binary somehow.

Andrew Walbran %!s(int64=2) %!d(string=hai) anos
pai
achega
0dd44d8a3f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      examples/aarch64/Makefile

+ 2 - 0
examples/aarch64/Makefile

@@ -21,9 +21,11 @@ env:
 	rustup target add $(target)
 
 kernel_qemu:
+	cargo clean
 	cargo build $(BUILD_ARGS) --config 'build.rustflags="--cfg platform=\"qemu\""'
 
 kernel_crosvm:
+	cargo clean
 	cargo build $(BUILD_ARGS) --config 'build.rustflags="--cfg platform=\"crosvm\""'
 
 $(kernel_qemu_bin): kernel_qemu