Explorar el Código

Clean before building to avoid getting the wrong binary somehow.

Andrew Walbran hace 2 años
padre
commit
0dd44d8a3f
Se han modificado 1 ficheros con 2 adiciones y 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