From 31bef9dbce2a45fcd347106b23c0eb1875195809 Mon Sep 17 00:00:00 2001 From: lyon Date: Wed, 27 Apr 2022 01:05:00 +0800 Subject: [PATCH] add cargo clean before build --- port/linux/update-compiler.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/port/linux/update-compiler.sh b/port/linux/update-compiler.sh index 67e5d4f91..e0bd561df 100644 --- a/port/linux/update-compiler.sh +++ b/port/linux/update-compiler.sh @@ -1,5 +1,6 @@ ROOT=$PWD cd ../../tools/pikaCompiler +cargo clean cargo build cd $ROOT cp ../../tools/pikaCompiler/rust-msc-latest-linux package/pikascript/rust-msc-latest-linux