Open
Description
Based on my experiments building javascript into .wasm via js-compute-runtime command is non-repeatable and non-deterministic.
Simply running js-compute-runtime src dest
twice yields different results even though the source is unchanged.
This is problem when building things with Bazel due to unstable outputs affecting cache hit rates.
Reproducer; Get diffoscope from here: https://diffoscope.org/
js-compute-runtime a.js 1.wasm
js-compute-runtime a.js 2.wasm
diiffoscope 1.wasm 2.wasm
Metadata
Metadata
Assignees
Labels
No labels