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

Detect standalone android compiler with regex #539

Merged

Conversation

gianluca-hilton
Copy link
Contributor

The version pushed in the PR #495 only detects minimal versions of the compiler so other standalone compilers such as "armv7a-linux-androideabiNN-clang" with NN != 16 will not be detected.

Detecting standalone compiler with regex is more generic.

@gianluca-hilton gianluca-hilton force-pushed the android-standalone-regex branch from 4a01c44 to 8b63b6a Compare August 3, 2020 15:58
@alexcrichton
Copy link
Member

Thanks for the report! I would prefer, however, to not bring in regex as a dependency to this crate. Can this be rewritten with some inline string searching?

@alexcrichton alexcrichton merged commit da69068 into rust-lang:master Aug 7, 2020
@alexcrichton
Copy link
Member

Thanks!

@gianluca-hilton gianluca-hilton mentioned this pull request Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants