I have been looking at examples on how to compile a simple rust lib with a helper function to webassembly. Unfortunately, many of the examples that I have found are either out of date or broken.
I have seen several examples that walk the user through the FFI creation, etc. However, when it comes to trying to actually use it inside of an html script tag, it never works properly.
Does anyone have an up to date resource on how to do this?
I would appreciate it. Thank you.