I am migrating a legacy JS code to Rust+WebAssembly, replace one part at a time and running the original tests (that use QUnit). The code is rather large, so I cannot post it, and I was not able to make a
I am getting a strange bug with some structs. Briefly, everything works in the browser until I get an error out of the blue "null pointer passed to rust". (All methods use
&self, the struct only contains some
It seems that it happens when a container holding a "Rust object" is deleted, as if something is not being deallocated in the right order. I am having a hard time chasing this bug. Any idea how to approach this bug or what the source might be?