Using Embedded Swift with Godbolt

I was curious about what the assembly for Embedded Swift looks like and tried experimenting with Godbolt. It seems to compile fine but the site says "No output file". I'm guessing that means no assembly was emitted? Is that not supported by embedded yet?

Here are the full compiler options:

-g -o output.s -emit-assembly -Xllvm --x86-asm-syntax=intel -S -o -Xfrontend -enable-experimental-feature Embedded -wmo example.swift

And the link to the Godbolt file: Compiler Explorer


You only need a couple of these flags:

-enable-experimental-feature Embedded -wmo

here: Compiler Explorer

I've added the -Xllvm -link-embedded-runtime=0 so that it doesn't link in things like swift_retain from the embedded runtime.