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

feat: allow use of unknown arches through commandline #434

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

j-lanson
Copy link
Collaborator

This replaces SupportedArch with an Arch enum, which is further subdivided into Unknown(String) and the KnownArch enum.

Currently DETECTED_ARCH is Option<KnownArch>, but we could expand it to be just Arch, and try to get the target triple at compile time as a string to fill the Arch::Unknown variant. Without doing this, right now you'll be forced to specify --arch on the command line even if you build and run on the same arch, assuming its not one of the KnownArch types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant