Skip to content

Commit 47eb1fd

Browse files
committed
ci: fix vllm rust debug build
1 parent 15f7060 commit 47eb1fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build_rust.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ if ! rustup run "$TOOLCHAIN" rustc --version &>/dev/null; then
124124
fi
125125

126126
if [[ "${1:-}" == "--debug" ]]; then
127-
PROFILE_ARGS=()
127+
PROFILE_ARGS=""
128128
PROFILE_DIR="debug"
129129
else
130-
PROFILE_ARGS=(--release)
130+
PROFILE_ARGS="--release"
131131
PROFILE_DIR="release"
132132
fi
133133

134-
cargo +"$TOOLCHAIN" build "${PROFILE_ARGS[@]}" \
134+
cargo +"$TOOLCHAIN" build ${PROFILE_ARGS:+$PROFILE_ARGS} \
135135
--manifest-path "$RUST_DIR/Cargo.toml" \
136136
--bin vllm-rs \
137137
--features native-tls-vendored

0 commit comments

Comments
 (0)