enable rust backend in debug builds

This commit is contained in:
jess 2026-04-04 22:05:53 -07:00
parent 63457fd9da
commit fd10b7e8ae
1 changed files with 5 additions and 9 deletions

View File

@ -11,15 +11,11 @@ LOGFILE="$HOME/swiftly/debug.log"
SDK=$(xcrun --show-sdk-path) SDK=$(xcrun --show-sdk-path)
# --- Rust core (re-enable when backend is ready) --- RUST_LIB="$ROOT/core/target/debug"
# RUST_LIB="$ROOT/core/target/debug" echo "Building Rust core (debug)..."
# if [ -d "$ROOT/core" ]; then cd "$ROOT/core" && cargo build
# echo "Building Rust core (debug)..." cd "$ROOT"
# cd "$ROOT/core" && cargo build RUST_FLAGS="-import-objc-header $ROOT/core/include/swiftly.h -L $RUST_LIB -lswiftly_core"
# cd "$ROOT"
# RUST_FLAGS="-import-objc-header $ROOT/core/include/swiftly.h -L $RUST_LIB -lswiftly_core"
# fi
RUST_FLAGS=""
# --- Bundle structure --- # --- Bundle structure ---
mkdir -p "$MACOS" "$RESOURCES" mkdir -p "$MACOS" "$RESOURCES"