We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
compiler.is_clang_cl()
Motivating example:
The following boilerplate is required to enable compilation with SSE3 intrinsics.
let compiler = build.get_compiler(); let is_clang_cl = compiler.path().ends_with("clang-cl.exe") || compiler.path().ends_with("clang-cl"); if compiler.is_like_gnu() || compiler.is_like_clang() || is_clang_cl { #[cfg(target_arch = "x86_64")] build.flag("-mssse3"); }
cc-rs should provide and maintain a is_clang_cl helper to make this process more robust and convenient.
cc-rs
is_clang_cl
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Motivating example:
The following boilerplate is required to enable compilation with SSE3 intrinsics.
cc-rs
should provide and maintain ais_clang_cl
helper to make this process more robust and convenient.The text was updated successfully, but these errors were encountered: