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
I have numerous rust projects which I'm trying to speed up compilation times for. These are being compiled in a Gitlab CI environment, nothing too fancy. Hence, I'm using the pre-complied musl release binaries v0.8.1, not cargo install sccache in my CI container images.
For various reasons, I need these binaries to be statically linked, but when I'm using sccache (literally, the only change in the build environment), these binaries come out as dynamically linked anyway. Otherwise - they come out as static binaries and all is well.
I'm trying to understand if this is a known issue or if there's a way to solve it.
(I read the README, but I was under the impression the openssl issue is for sccache itself, not the compilation target, correct me if I'm wrong?)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there!
I have numerous rust projects which I'm trying to speed up compilation times for. These are being compiled in a Gitlab CI environment, nothing too fancy. Hence, I'm using the pre-complied musl release binaries
v0.8.1
, notcargo install sccache
in my CI container images.For various reasons, I need these binaries to be statically linked, but when I'm using
sccache
(literally, the only change in the build environment), these binaries come out as dynamically linked anyway. Otherwise - they come out as static binaries and all is well.I'm trying to understand if this is a known issue or if there's a way to solve it.
(I read the README, but I was under the impression the openssl issue is for
sccache
itself, not the compilation target, correct me if I'm wrong?)Compilation params:
Cargo.toml
.cargo/config.toml
.gitlab-ci.yml
Thank you 🙏 !
Beta Was this translation helpful? Give feedback.
All reactions