mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 15:01:28 +00:00
Namespaces
This commit is contained in:
@ -130,7 +130,8 @@ args._.forEach(filename => {
|
||||
var options = assemblyscript.createOptions();
|
||||
assemblyscript.setTarget(options, 0);
|
||||
assemblyscript.setNoTreeShaking(options, args.noTreeShaking);
|
||||
assemblyscript.setNoDebug(options, args.noDebug);
|
||||
assemblyscript.setNoAssert(options, args.noAssert);
|
||||
// TODO: noDebug binaryen feature, removing names the debug section
|
||||
|
||||
var module = assemblyscript.compile(parser, options);
|
||||
checkDiagnostics(parser);
|
||||
|
@ -43,7 +43,7 @@
|
||||
"desc": "Disables tree-shaking.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noDebug": {
|
||||
"noAssert": {
|
||||
"desc": "Disables assertions.",
|
||||
"type": "boolean"
|
||||
},
|
||||
|
Reference in New Issue
Block a user