We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-p
--workspace
1 parent 2aa38c5 commit cbd66dfCopy full SHA for cbd66df
templates/15-rust.sh
@@ -94,7 +94,7 @@ build_rust_build() {
94
abinfo 'Using fallback build method ...'
95
parsed_flags="$(getopt -o ':p' -- "${CARGO_AFTER[@]}" || true)"
96
parsed_flags=(${parsed_flags})
97
- if [[ "${parsed_flags}" = '-p' ]]; then
+ if [[ "${parsed_flags}" != '-p' ]]; then
98
DEFAULT_CARGO_CONFIG+=('--workspace')
99
fi
100
cargo build "${DEFAULT_CARGO_CONFIG[@]}" \
0 commit comments