Skip to content

A rust WASM host that exports a print function that the WASM script generated by AssemblyScript can use to print to stdout

Notifications You must be signed in to change notification settings

gabrielmedici/rust-wasmer-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This example shows:

  • how to import a .wasm script generated by AssemblyScript
  • how to take in a WasmPtr inside an import
  • how to access memory inside an import
  • how to read a UTF-8 null terminated string from a WasmPtr

About

A rust WASM host that exports a print function that the WASM script generated by AssemblyScript can use to print to stdout

Topics

Resources

Stars

Watchers

Forks