You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't be too hard -- create a build.rs file that can get the target architecture and write it as a hardcoded string into a new module in the out directory for use inside the app.
Use the include! macro to import it where we want to use it.
The text was updated successfully, but these errors were encountered:
https://doc.rust-lang.org/cargo/reference/build-script-examples.html
Shouldn't be too hard -- create a
build.rs
file that can get the target architecture and write it as a hardcoded string into a new module in the out directory for use inside the app.Use the
include!
macro to import it where we want to use it.The text was updated successfully, but these errors were encountered: