[llvm-bugs] [Bug 37198] WebAssembly start component should be emitted with definition of the start function

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 29 14:32:40 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=37198

Andrew Kelley <andrew at ziglang.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |---
                 CC|                            |andrew at ziglang.org
             Status|RESOLVED                    |REOPENED

--- Comment #12 from Andrew Kelley <andrew at ziglang.org> ---
Hi, I'd like to please re-open this issue for consideration. I represent the
Zig project (https://ziglang.org/) which supports WebAssembly. Our goal is to
produce wasm executables which have the start function as specified by the
WebAssembly specification.

Zig has no constructors, so this is not an issue. What we want is for the
"start function" of the wasm file to call _start (actually don't care what LLD
wants it to be, and would be happy with an explicit flag).

Since this is a feature of WebAssembly, it seems to me there should be a way to
produce a wasm file which uses this feature, and it does fit nicely into the
Zig language.

Thanks for consideration.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190529/6358e6ae/attachment.html>


More information about the llvm-bugs mailing list