You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::panicking::panicking() is a simple function that checks to see if the current thread is panicking. Looking at the wasm-snip source code, it appears that this will be targeted by this pattern when --snip-rust-panicking-code is used:
Motivation
std::panicking::panicking()
is a simple function that checks to see if the current thread is panicking. Looking at thewasm-snip
source code, it appears that this will be targeted by this pattern when --snip-rust-panicking-code is used:It is unfortunate because this function is called by
std::thread::panicking()
; a function extensively used bytokio
Proposed Solution
Omit this particular function from the patterns, or somehow snip this particular function to always return
false
The text was updated successfully, but these errors were encountered: