Remove the start decorator in favor of a command line option

This commit is contained in:
dcode
2019-06-05 18:52:04 +02:00
parent dfe04d08e4
commit eaea26b7ae
44 changed files with 3676 additions and 3228 deletions

View File

@ -351,10 +351,9 @@ function testInstantiate(basename, binaryBuffer, name) {
"var": 3
}
}).exports;
if (exports.main) {
console.log(colorsUtil.white(" [main]"));
let code = exports.main();
console.log(colorsUtil.white(" [exit " + code + "]\n"));
if (exports.__start) {
console.log(colorsUtil.white(" [start]"));
exports.__start();
}
});
let leakCount = rtr.check();