Fix build script
This commit is contained in:
parent
e81525d349
commit
a9798a1ce8
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
||||||
function compile_one {
|
function compile_one {
|
||||||
target=$1
|
target=$1
|
||||||
real_target=${!target}
|
real_target=${!target}
|
||||||
|
real_target=$(basename $real_target)
|
||||||
if [[ $check = "true" ]]; then
|
if [[ $check = "true" ]]; then
|
||||||
echo "[INFO] Checking target $target(with rust target of $real_target)"
|
echo "[INFO] Checking target $target(with rust target of $real_target)"
|
||||||
cargo check --target "$real_target" --release -Zbuild-std=core,alloc --bin entrypoint_$target
|
cargo check --target "$real_target" --release -Zbuild-std=core,alloc --bin entrypoint_$target
|
||||||
|
|
Loading…
Add table
Reference in a new issue