Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display build target with the j5s version (eg. intel vs apple silicon) #22

Open
nevadascout opened this issue Nov 29, 2022 · 0 comments
Assignees
Labels
new functionality New functionality
Milestone

Comments

@nevadascout
Copy link
Member

nevadascout commented Nov 29, 2022

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.

@nevadascout nevadascout added the new functionality New functionality label Nov 29, 2022
@nevadascout nevadascout added this to the 0.4 (beta) milestone Nov 29, 2022
@nevadascout nevadascout self-assigned this Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new functionality New functionality
Projects
None yet
Development

No branches or pull requests

1 participant