View full source code or view the compiled example online
Using the js-sys crate we can get pretty meta and instantiate WebAssembly modules from inside WebAssembly modules!
js-sys
WebAssembly
src/lib.rs
{{#include ../../../examples/wasm-in-wasm/src/lib.rs}}