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

Increase robustness to exotic clang versions #163

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

stephenswat
Copy link
Contributor

As seen in #162, not all clang installations neatly follow the "clang version MAJOR.MINOR" template. This causes crofiler to fail when using, e.g., Debian's provided version of clang. This commit increases the robustness of the version checking by relying on a regular expression which can match a broader range of possible versions.

Resolves #162.

Copy link

semanticdiff-com bot commented Jun 18, 2024

Review changes with SemanticDiff.

Analyzed 1 of 2 files.

Overall, the semantic diff is 45% smaller than the GitHub diff.

Filename Status
Cargo.toml Unsupported file format
✔️ src/clang.rs 44.37% smaller

HadrienG2
HadrienG2 previously approved these changes Jun 18, 2024
Cargo.toml Outdated Show resolved Hide resolved
As seen in HadrienG2#162, not all clang installations neatly follow the "clang
version MAJOR.MINOR" template. This causes crofiler to fail when using,
e.g., Debian's provided version of clang. This commit increases the
robustness of the version checking by relying on a regular expression
which can match a broader range of possible versions.

Resolves HadrienG2#162.
auto-merge was automatically disabled June 18, 2024 11:43

Head branch was pushed to by a user without write access

@HadrienG2 HadrienG2 enabled auto-merge June 18, 2024 12:09
@HadrienG2 HadrienG2 merged commit 7be1924 into HadrienG2:main Jun 18, 2024
12 checks passed
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.

Debian default clang++ version is not accepted
2 participants