Skip to content

Commit 4213fe0

Browse files
Merge pull request #70 from wack/claude/add-wasm-target-startup-psIHw
2 parents 93bf51c + 76b3a82 commit 4213fe0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.claude/hooks/session-start.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ fi
1212

1313
echo "Installing development tools for Tern..."
1414

15+
# Add wasm32-wasip2 target for WebAssembly builds
16+
if ! rustup target list --installed | grep -q wasm32-wasip2; then
17+
echo "Adding wasm32-wasip2 target..."
18+
rustup target add wasm32-wasip2
19+
else
20+
echo "wasm32-wasip2 target already installed"
21+
fi
22+
1523
# Install cargo-binstall if not already installed (for fast binary downloads)
1624
if ! command -v cargo-binstall &> /dev/null; then
1725
echo "Installing cargo-binstall..."

0 commit comments

Comments
 (0)