Skip to content

Commit

Permalink
Fix iOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky43007 committed Nov 2, 2024
1 parent 5c6f57d commit dbbbbc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/mobile/modules/sd-core/ios/build-rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ mkdir -p "$TARGET_DIRECTORY"
TARGET_DIRECTORY="$(CDPATH='' cd -- "$TARGET_DIRECTORY" && pwd -P)"

TARGET_CONFIG=debug
# if [ "${CONFIGURATION:-}" = "Release" ]; then
# set -- --release
# TARGET_CONFIG=release
# fi
if [ "${CONFIGURATION:-}" = "Release" ]; then
set -- --release
TARGET_CONFIG=release
fi

trap 'if [ -e "${CARGO_CONFIG}.bak" ]; then mv "${CARGO_CONFIG}.bak" "$CARGO_CONFIG"; fi' EXIT

Expand Down

0 comments on commit dbbbbc4

Please sign in to comment.