This commit is contained in:
@@ -125,6 +125,9 @@ if [[ "$SKIP_BUILD" != "true" ]]; then
|
||||
log "构建 Rust 二进制"
|
||||
cd "$ROOT"
|
||||
if [[ -n "$TARGET" ]]; then
|
||||
if command -v rustup >/dev/null 2>&1; then
|
||||
rustup target add "$TARGET"
|
||||
fi
|
||||
cargo build --release --target "$TARGET" -p lightops-server -p lightops-agent
|
||||
BIN_DIR="target/${TARGET}/release"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user