#-femit-asm does not emit asm output anywhere

1 messages · Page 1 of 1 (latest)

unreal remnant
#

Hey there.
Zig version: 0.15.1
OS: EndeavourOS x86_64 Linux 6.16.5-arch1-1
Just initialized a new project and ran

zig build-exe -ODebug --dep foo -Mroot=src/main.zig -Mfoo=src/root.zig --name foo -femit-asm=foo.asm

Unfortunately the only file generated is

foo: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, with debug_info, not stripped

Seems like a bug to me, or am I doing something wrong?

cobalt fossil
#

yea its a bug/unimplemented feature, if you use the llvm backend it should work

#

-fllvm