#Build DLL without extra zig "crud"

1 messages · Page 1 of 1 (latest)

frigid tartan
#

Basically as the title asks. Is there any way to use zig to build essentially a C library (with a build.zig file) without the extra stuff that comes with start.zig?

#

I can post ghidra screenshots of what stuff I'm aiming to remove

frigid tartan
#

....as I was..
Turns out -Doptimize=ReleaseSmall did everything I needed it to do

#

Stack unwinding + a bunch of other stuff I didn't want imported were getting imported, it seems these were debugging related stuffs

round monolith
round monolith
#

as long as u strip the binary