Skip to content
Can I safely build my Rust program with "-Ctarget-cpu=native"?
polponline
OP

3 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

Closed

2 Replies

polponline
OP

3 years ago

N/A


3 years ago

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...