Can I safely build my Rust program with "-Ctarget-cpu=native"?
polponline
HOBBYOP

2 years ago

As the title says, can I add this flag to my program expecting it to run just fine in every case (is the build machine always the same as the deploy machine?). I am using Nixpacks to deploy

2 Replies

polponline
HOBBYOP

2 years ago

N/A


2 years ago

the build machine is not the same machine as the deploy machine, but its the same arch


Loading...