We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15f7060 commit 47eb1fdCopy full SHA for 47eb1fd
1 file changed
build_rust.sh
@@ -124,14 +124,14 @@ if ! rustup run "$TOOLCHAIN" rustc --version &>/dev/null; then
124
fi
125
126
if [[ "${1:-}" == "--debug" ]]; then
127
- PROFILE_ARGS=()
+ PROFILE_ARGS=""
128
PROFILE_DIR="debug"
129
else
130
- PROFILE_ARGS=(--release)
+ PROFILE_ARGS="--release"
131
PROFILE_DIR="release"
132
133
134
-cargo +"$TOOLCHAIN" build "${PROFILE_ARGS[@]}" \
+cargo +"$TOOLCHAIN" build ${PROFILE_ARGS:+$PROFILE_ARGS} \
135
--manifest-path "$RUST_DIR/Cargo.toml" \
136
--bin vllm-rs \
137
--features native-tls-vendored
0 commit comments