Skip to content

Commit 6fcff6b

Browse files
Qardclaude
andcommitted
Add comprehensive WASM file location debugging
The cargo build completes successfully but the WASM file isn't found at the expected location. This adds detailed debugging to understand where the WASM file is actually placed. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 825a16d commit 6fcff6b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,16 @@ jobs:
159159
exit 1
160160
}
161161
echo "===== Checking build output ====="
162-
find . -name "*.wasm" -type f
163-
ls -la target/wasm32-wasip1/release/ || echo "ERROR: Release directory not found"
162+
echo "Finding all files in target directory:"
163+
find target -type f 2>/dev/null || echo "No target directory found"
164+
echo "Looking for WASM files specifically:"
165+
find . -name "*.wasm" -type f 2>/dev/null || echo "No WASM files found"
166+
echo "Looking for any files with 'fix-python-soname' in name:"
167+
find . -name "*fix-python-soname*" -type f 2>/dev/null || echo "No fix-python-soname files found"
168+
echo "Checking target structure:"
169+
ls -la target/ 2>/dev/null || echo "No target directory"
170+
ls -la target/wasm32-wasip1/ 2>/dev/null || echo "No wasm32-wasip1 directory"
171+
ls -la target/wasm32-wasip1/release/ 2>/dev/null || echo "No release directory"
164172
echo "===== Copying WASM to root ====="
165173
cp target/wasm32-wasip1/release/fix-python-soname.wasm .. || {
166174
echo "ERROR: Failed to copy WASM file"

0 commit comments

Comments
 (0)