mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-25 04:31:43 +00:00
Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks
This commit is contained in:
6
tests/compiler/main.ts
Normal file
6
tests/compiler/main.ts
Normal file
@ -0,0 +1,6 @@
|
||||
var code = 0;
|
||||
code = 1;
|
||||
|
||||
export function main(argc: i32, argv: usize): i32 {
|
||||
return code;
|
||||
}
|
Reference in New Issue
Block a user