summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-05-13 17:03:39 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2025-05-13 17:05:28 -0700
commitcb88edf0bfdc2ce6bfbe3b4e0463a4c2dc5d2230 (patch)
tree0295126654ceff59e8104a6aac9d55e1d582a948
parent1d3221ad289af51af8c246904d42a5d0f31e3c2b (diff)
Set WASMTIME_BACKTRACE_DETAILS=1 for WASM basictest
https://github.com/ruby/ruby/actions/runs/15008767265/job/42173424631 "error while executing at wasm backtrace" doesn't have meaningful symbols. We can't debug this from just looking at the "[BUG] Cannot malloc during GC" message. As suggested by the error message, this commit sets WASMTIME_BACKTRACE_DETAILS=1. Let me see if this improves the backtrace.
-rw-r--r--.github/workflows/wasm.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml
index 047288cb8d..88ea7bd76c 100644
--- a/.github/workflows/wasm.yml
+++ b/.github/workflows/wasm.yml
@@ -152,6 +152,8 @@ jobs:
- name: Run basictest
run: wasmtime run ./../build/miniruby --mapdir /::./ -- basictest/test.rb
+ env:
+ WASMTIME_BACKTRACE_DETAILS: '1'
working-directory: src
- name: Run bootstraptest (no thread)