{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/binaryen/issues/588","repository_url":"https://api.github.com/repos/WebAssembly/binaryen","labels_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/588/comments","events_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/588/events","html_url":"https://github.com/WebAssembly/binaryen/issues/588","id":160439222,"number":588,"title":"asm2wasm fails on asm2wasm.h","user":{"login":"bobvanluijt","id":5509162,"avatar_url":"https://avatars.githubusercontent.com/u/5509162?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvanluijt","html_url":"https://github.com/bobvanluijt","followers_url":"https://api.github.com/users/bobvanluijt/followers","following_url":"https://api.github.com/users/bobvanluijt/following{/other_user}","gists_url":"https://api.github.com/users/bobvanluijt/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvanluijt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvanluijt/subscriptions","organizations_url":"https://api.github.com/users/bobvanluijt/orgs","repos_url":"https://api.github.com/users/bobvanluijt/repos","events_url":"https://api.github.com/users/bobvanluijt/events{/privacy}","received_events_url":"https://api.github.com/users/bobvanluijt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-06-15T14:40:08Z","updated_at":"2016-06-17T13:44:31Z","closed_at":null,"body":"Hi all,\r\n\r\nI did the following on a simple hello world C script.\r\n- `EMCC_WASM_BACKEND=1 emcc test.c -o test.js -s BINARYEN=1`\r\n\r\nNext I wanted to use the asm2wasm script\r\n- `./bin/asm2wasm test.js`\r\n\r\nBut it outputs:\r\n`asm2wasm: /FOOBAR/binaryen-master/src/asm2wasm.h:113: char* wasm::Asm2WasmPreProcessor::process(char*): Assertion 'strstr(growthFuncStart + 1, \"function \") == 0' failed.\r\nAborted (core dumped)`\r\n\r\nNot sure what to do, any input is welcome (-:"},"comment":{"url":"https://api.github.com/repos/WebAssembly/binaryen/issues/comments/226772254","html_url":"https://github.com/WebAssembly/binaryen/issues/588#issuecomment-226772254","issue_url":"https://api.github.com/repos/WebAssembly/binaryen/issues/588","id":226772254,"user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T13:44:31Z","updated_at":"2016-06-17T13:44:31Z","body":"(Can just use the emscripten SDK and it gets it all for you, or you can build it manually too.)"}}
{"actor":{"display_login":"kripken"}}