-
Notifications
You must be signed in to change notification settings - Fork 502
Description
I think we should store the wasm files under test/.spec-opam-1.1.1/core
(and anywhere else, I see some other wasm files under other parts of subdirs under test
) as wat files instead, and make the compilation part of the initial python script. We can do simple checking of each file to see if anything has changed on each run, and if already compiled avoid recompilation to save time for the bulk of tests, but if we need to back and change existing tests, I think it just makes the dev experience faster. I think it could be easily done by doing wasm-decompile
, and fixing up anything that needs to be fixed by hand.
Maybe I'm just dumb and there's a way that's just as easy, if not easier. I'm generally new to wasm, so feel free to correct me if I'm in the wrong. But throwing this out there as I've been messing with the code.
I can mess with implementing this, but I'd like to hear from someone more experienced in this project in case it's redundant