-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
--include-ffi cargo:warning=clang: error: unknown argument: '-fprofile-update=atomic' #377
Comments
Yes.
The exact version required depends on the version of LLVM used in rustc, but usually the same version will work, and slightly older versions may or may not work. |
clang 19 may support ' -fprofile-update=atomic' |
Unless you pass --include-ffi it is never passed to clang. |
In fact, that flag is supported by at least clang 13. https://github.com/taiki-e/cargo-llvm-cov/actions/runs/9992831084/job/27618778896
From the test on CI and local:
|
Compatible Rust and LLVM versions are now documented in readme. |
I have imported environment variables as required, but an error is reported after the '''cargo llvm-cov--lcov--include-ffi '''command is executed. Is it necessary to upgrade the clang version?
Thank you for your help!
build.rs
llvm-cov 、clang++ and clang version :
error info:
The text was updated successfully, but these errors were encountered: