mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 19:21:47 +00:00
Less prose; Update i64 example; More options for asc
This commit is contained in:
@ -143,6 +143,7 @@ var options = assemblyscript.createOptions();
|
||||
assemblyscript.setTarget(options, 0);
|
||||
assemblyscript.setNoTreeShaking(options, args.noTreeShaking);
|
||||
assemblyscript.setNoAssert(options, args.noAssert);
|
||||
assemblyscript.setNoMemory(options, args.noMemory);
|
||||
// TODO: noDebug binaryen feature, removing names the debug section
|
||||
|
||||
var module = assemblyscript.compile(parser, options);
|
||||
|
@ -51,6 +51,10 @@
|
||||
"desc": "Does not include the standard library.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noMemory": {
|
||||
"desc": "Does not set up a memory.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"trapMode": {
|
||||
"desc": [
|
||||
"Sets the trap mode to use.",
|
||||
|
Reference in New Issue
Block a user