Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/invalid
/
.
/
test
/
binaryen.js
/
custom-section.js
blob: 404fe4a4a21b517165dd7b4f336f8948206e96d4 [
file
] [
log
] [
blame
] [
edit
]
binaryen
.
setAPITracing
(
true
);
var
module
=
new
binaryen
.
Module
();
module
.
addCustomSection
(
"hello"
,
[
119
,
111
,
114
,
108
,
100
]);
assert
(
module
.
validate
());
console
.
log
(
module
.
emitText
());