Hi Soeren,

The compiler flag -mtail-call is what you want. This support has been in
upstream LLVM for a while, but it hasn't been used very much, so if you run
into bugs with it, please let us know!

Best,

Thomas

On Tue, Nov 23, 2021 at 6:14 PM Soeren Balko <[email protected]> wrote:

> I was wondering about the state of WebAssembly tail call support in
> Emscripten. It's available as an experimental V8 feature in Chrome and will
> hopefully be mainstreamed in the not-too distant future.
>
> Couldn't find much information on how to build with tail call support in
> Emscripten, but I suspect that adding the -menable-tail-call linker flag
> does the trick? Or is there more to it?
>
> @Alon - can you please confirm?
>
> Thank you!
> Soeren
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/bdcc8072-b7a0-454c-bd05-68b0ae780c77n%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/bdcc8072-b7a0-454c-bd05-68b0ae780c77n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAJZD_EXxUOTnzv08hUY-xsQB5HZTaRFnrZVF_W%2B_d2cDraS7AA%40mail.gmail.com.

Reply via email to