Thank you very much for your links! The Rustyweb link was actually helpful (specifically the library example), and I got a working example!
However, it definitely incomplete or outdated. For starters, it did not recommend the ‘wasm32-unknown-emscripten’ target, instead, it recommends asm. Also, I was unable to get it to work out of the box, I ended up needed to do the following inside my tags. since without the onRuntimeInitialized function, it did not work.
Module.onRuntimeInitialized = () => {
const testing = Module.cwrap("testing", "", []);
testing();
};