-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea1c5f5
commit 907b3c2
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ rustup target add wasm32-unknown-unknown | |
cargo install [email protected] --locked | ||
|
||
|
||
RUSTFLAGS='-C link-arg=-s' cargo build --workspace --exclude test-utils --release --lib --target wasm32-unknown-unknown | ||
RUSTFLAGS='-C link-arg=-s' cargo build --workspace --exclude contracts/soroban/contracts --exclude contracts/soroban/libs --exclude test-utils --release --lib --target wasm32-unknown-unknown | ||
for WASM in ./target/wasm32-unknown-unknown/release/*.wasm; do | ||
NAME=$(basename "$WASM" .wasm)${SUFFIX}.wasm | ||
echo "Creating intermediate hash for $NAME ..." | ||
|
@@ -90,4 +90,4 @@ exit 1 | |
fi | ||
echo "$file : $size KB" | ||
done | ||
echo "The size of all contracts is well within the $MAX_WASM_SIZE KB limit." | ||
echo "The size of all contracts is well within the $MAX_WASM_SIZE KB limit." |