enable rust backend in debug builds
This commit is contained in:
parent
63457fd9da
commit
fd10b7e8ae
14
debug.sh
14
debug.sh
|
|
@ -11,15 +11,11 @@ LOGFILE="$HOME/swiftly/debug.log"
|
|||
|
||||
SDK=$(xcrun --show-sdk-path)
|
||||
|
||||
# --- Rust core (re-enable when backend is ready) ---
|
||||
# RUST_LIB="$ROOT/core/target/debug"
|
||||
# if [ -d "$ROOT/core" ]; then
|
||||
# echo "Building Rust core (debug)..."
|
||||
# cd "$ROOT/core" && cargo build
|
||||
# cd "$ROOT"
|
||||
# RUST_FLAGS="-import-objc-header $ROOT/core/include/swiftly.h -L $RUST_LIB -lswiftly_core"
|
||||
# fi
|
||||
RUST_FLAGS=""
|
||||
RUST_LIB="$ROOT/core/target/debug"
|
||||
echo "Building Rust core (debug)..."
|
||||
cd "$ROOT/core" && cargo build
|
||||
cd "$ROOT"
|
||||
RUST_FLAGS="-import-objc-header $ROOT/core/include/swiftly.h -L $RUST_LIB -lswiftly_core"
|
||||
|
||||
# --- Bundle structure ---
|
||||
mkdir -p "$MACOS" "$RESOURCES"
|
||||
|
|
|
|||
Loading…
Reference in New Issue