You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow-up on an issue I originally reported on cc-rs: rust-lang/cc-rs#1196
I found out it only happens in MacOS Github runner with sccache enabled.
I tried to invalidate it with SCCACHE_RECACHE: "1", without success.
For your convenience, this is the same original issue description:
I have a Rust library that includes some C dependencies and builds them with cc crate.
The build works perfectly on my machine, but cc does pass the input files to clang in GitHub CI. The build does not fail, but the library is built without the C symbols.
The library is used by an iOS App. The App builds on my machine but not in Github CI because it can't find the C symbols in the library.
While building the library on Github, I noticed it emits some warnings from the detect_compiler_family.c file from this crate.
This same warning happens for all our C dependencies, using libpng as an example:
This is a follow-up on an issue I originally reported on
cc-rs
: rust-lang/cc-rs#1196I found out it only happens in MacOS Github runner with
sccache
enabled.I tried to invalidate it with
SCCACHE_RECACHE: "1"
, without success.For your convenience, this is the same original issue description:
I have a Rust library that includes some C dependencies and builds them with
cc
crate.The build works perfectly on my machine, but
cc
does pass the input files to clang in GitHub CI. The build does not fail, but the library is built without the C symbols.The library is used by an iOS App. The App builds on my machine but not in Github CI because it can't find the C symbols in the library.
While building the library on Github, I noticed it emits some warnings from the
detect_compiler_family.c
file from this crate.This same warning happens for all our C dependencies, using
libpng
as an example:How to reproduce
Build a library with some C dependency on the MacOS Github runner (I'm using
macos-14
).The text was updated successfully, but these errors were encountered: