mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 18:51:43 +00:00
Remove the start decorator in favor of a command line option
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user