Skip to content

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

@nevadascout

Description

@nevadascout

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions