Skip to main content

Module data_fetch

Module data_fetch 

Source
Expand description

Runtime fetch of build-staged static data.

scripts/stage-web-data.sh publishes the repo’s data files (benchmark results, program sources, legal HTML, lexicon) under /data/ next to the app bundle. Native builds compile the same bytes in via include_str!; these helpers are the wasm side of that split, so the data never rides inside the shipped binary.