chore: fix cross build

This commit is contained in:
eric
2024-05-02 02:46:18 +08:00
parent effac11504
commit 7a31f50c56
3 changed files with 2 additions and 13 deletions

View File

@@ -1,11 +0,0 @@
#!/usr/bin/env bash
set -ex
target=$1
if [[ "$target" == *"mips"* ]]; then
cross build --release --target $target --manifest-path leaf-cli/Cargo.toml --no-default-features --features "default-openssl"
else
cross build --release --target $target --manifest-path leaf-cli/Cargo.toml --no-default-features --features "default-ring"
fi