mozilla / sccache

Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
Apache License 2.0
5.85k stars 552 forks source link

refactor: Remove all dependences on ring 0.16 #2036

Closed Xuanwo closed 10 months ago

Xuanwo commented 10 months ago

Close https://github.com/mozilla/sccache/issues/1442

codecov-commenter commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9d1696b) 30.87% compared to head (b92dfb3) 30.78%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2036 +/- ## ========================================== - Coverage 30.87% 30.78% -0.09% ========================================== Files 51 51 Lines 19624 19582 -42 Branches 9420 9408 -12 ========================================== - Hits 6058 6028 -30 + Misses 7876 7845 -31 - Partials 5690 5709 +19 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lysliu commented 10 months ago

This PR works on s390x

warning: unused import: `self::toolchain_imp::*`
  --> src/dist/pkg.rs:23:9
   |
23 | pub use self::toolchain_imp::*;
   |         ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: `sccache` (lib) generated 1 warning (run `cargo fix --lib -p sccache` to apply 1 suggestion)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 04s

I can get a s390x binary after success build


-rwxr-x---   2 root root 424883184 Jan 16 08:05 sccache*
-rw-r-----   1 root root      1471 Jan 16 08:05 sccache.d
root@zenv:~/sccache/target/debug# ./sccache --version
sccache 0.7.5
root@zenv:~/sccache/target/debug# uname -m
s390x
sylvestre commented 10 months ago

excellent, thanks