#illegal instructions when friend runs my exe

1 messages · Page 1 of 1 (latest)

stuck bronze
#

when my friend runs my program he gets illegal instructions spammed on his screen, my thinking is that i need to compile it with less modern cpu instructions but I don't know how, or I could be entirely wrong...

clever pike
#

if you're compiling with the build system, add -Dcpu=baseline to your zig build command