Skip to content

Verify if a compile input is pure rlib or mixed rlib+staticlib before trimming - #1159

Merged
mitchhentges merged 1 commit into
mozilla:mainfrom
lissyx:issue1158_trim_fix
Apr 14, 2022
Merged

mitchhentges merged 1 commit into
mozilla:mainfrom
lissyx:issue1158_trim_fix

Conversation

@lissyx

@lissyx lissyx commented Apr 14, 2022

Copy link
Copy Markdown
Collaborator

Fixes #1158.

@codecov-commenter

codecov-commenter commented Apr 14, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #1159 (833809c) into main (5edd91a) will decrease coverage by 0.19%.
The diff coverage is 41.17%.

@@            Coverage Diff             @@
##             main    #1159      +/-   ##
==========================================
- Coverage   34.82%   34.63%   -0.20%     
==========================================
  Files          47       47              
  Lines       12662    12672      +10     
  Branches     6576     6587      +11     
==========================================
- Hits         4410     4389      -21     
+ Misses       4014     4012       -2     
- Partials     4238     4271      +33     
Impacted Files Coverage Δ
src/compiler/rust.rs 31.95% <41.17%> (+0.16%) ⬆️
src/test/utils.rs 36.36% <0.00%> (-3.04%) ⬇️
src/jobserver.rs 46.80% <0.00%> (-2.13%) ⬇️
src/util.rs 41.35% <0.00%> (-1.13%) ⬇️
src/azure/blobstore.rs 20.19% <0.00%> (-0.99%) ⬇️
src/compiler/gcc.rs 56.64% <0.00%> (-0.85%) ⬇️
src/mock_command.rs 51.66% <0.00%> (-0.74%) ⬇️
src/compiler/args.rs 58.82% <0.00%> (-0.72%) ⬇️
src/test/tests.rs 33.33% <0.00%> (-0.67%) ⬇️
src/lru_disk_cache/mod.rs 40.72% <0.00%> (-0.61%) ⬇️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5edd91a...833809c. Read the comment docs.

@lissyx
lissyx force-pushed the issue1158_trim_fix branch from d899eb4 to cb42c84 Compare April 14, 2022 13:40
@lissyx
lissyx force-pushed the issue1158_trim_fix branch from cb42c84 to 833809c Compare April 14, 2022 13:49

@mitchhentges mitchhentges left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@mitchhentges
mitchhentges merged commit ec1457e into mozilla:main Apr 14, 2022
emabrey pushed a commit to emabrey/sccache that referenced this pull request Aug 10, 2022
sylvestre pushed a commit that referenced this pull request Sep 14, 2026
#1159 only guards the staticlib case; a cdylib sibling is .so/.dylib/.dll/.wasm,
so the rlib is trimmed and the job fails on the build server.
badumbatish pushed a commit to badumbatish/sccache that referenced this pull request Sep 14, 2026
mozilla#1159 only guards the staticlib case; a cdylib sibling is .so/.dylib/.dll/.wasm,
so the rlib is trimmed and the job fails on the build server.
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.

Dependency crate with staticlib and rlib gets trimmed

3 participants