#zig compiler as C compiler replacement: the --wrap linker flag

1 messages · Page 1 of 1 (latest)

steady jolt
#

I'm looking for zig (the compiler) equivalent for the following gcc command:

gcc -Wl,--wrap=myfunc mycode.c

So far, all I've tried is:

zig cc -Wl,--wrap=myfunc mycode.c

and I got the message: "warning: unsupported linker arg: --wrap"

coral dagger