blob: 404fe4a4a21b517165dd7b4f336f8948206e96d4 (
plain)
1
2
3
4
5
6
7
|
binaryen.setAPITracing(true);
var module = new binaryen.Module();
module.addCustomSection("hello", [119, 111, 114, 108, 100]);
assert(module.validate());
console.log(module.emitText());
|