Created
October 4, 2016 18:30
-
-
Save lqd/d2db11c78d1264f6ea4e79011e822acd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(module | |
(memory 1 1) | |
(start $__wasm_start) | |
(type $rustfn-0-3 (func)) | |
(type $__wasm_start (func)) | |
(export "memory" (memory $0)) | |
(export "main" (func $main)) | |
(func $main (type $rustfn-0-3) | |
(local $0 i32) | |
(i32.store | |
(i32.const 0) | |
(tee_local $0 | |
(i32.load | |
(i32.const 0) | |
) | |
) | |
) | |
(get_local $0) | |
) | |
(func $__wasm_start (type $__wasm_start) | |
(i32.store | |
(i32.const 0) | |
(i32.const 65535) | |
) | |
(drop | |
(call $main) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment