Jonathan Dygert
df0d0eec93
Add ci feature check
2024-01-06 00:07:06 +01:00
Jonathan Dygert
438469ad32
Expand cfg for operator storage impl
2024-01-06 00:07:06 +01:00
Jonathan Dygert
cf5958496f
Add i686 and fix armv7
2024-01-05 23:06:27 +01:00
Jonathan Dygert
66320ad32b
Fix typo in target
2024-01-05 23:06:27 +01:00
Jonathan Dygert
8837bfa6c4
Use container for arm build
2024-01-05 23:06:27 +01:00
Vincent de Phily
855ec0f329
Versionbump opendal 0.41.0 -> 0.43.0 ( #1992 )
...
Remove the `opendal/services-redis-rustls` feature as it's no longer available/needed.
2023-12-14 15:14:34 +08:00
dependabot[bot]
f739e22127
build(deps): bump toml from 0.8.6 to 0.8.8
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.6 to 0.8.8.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.6...toml-v0.8.8 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 18:40:21 +01:00
dependabot[bot]
f6eb21b5a2
build(deps): bump vmactions/freebsd-vm from 1.0.4 to 1.0.5
...
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases )
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v1.0.4...v1.0.5 )
---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 18:40:03 +01:00
dependabot[bot]
286554c2d9
build(deps): bump vmactions/freebsd-vm from 1.0.2 to 1.0.4
...
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm ) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases )
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v1.0.2...v1.0.4 )
---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 17:20:01 +01:00
dependabot[bot]
920564c129
build(deps): bump nix from 0.26.2 to 0.26.4
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.26.2 to 0.26.4.
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.4/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.2...v0.26.4 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 08:48:59 +01:00
Sylvestre Ledru
a1acbda284
Bump freebsd-vm action to v1.0.2 & use ubuntu ( #1994 )
...
Copied from
https://github.com/uutils/coreutils/pull/5606/files
2023-12-05 09:59:06 +08:00
dependabot[bot]
9abbbac3cd
build(deps): bump serde from 1.0.190 to 1.0.193
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.190 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.193 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 16:56:04 +01:00
Sylvestre Ledru
fb0ab0c422
Prepare version 0.7.4
2023-11-27 10:15:33 +01:00
Mike Hommey
6ff88eb450
Activate direct mode when e.g. SCCACHE_DIR is set.
2023-11-24 08:52:31 +01:00
Mike Hommey
2dfbe0409d
Remove some unnecessary clones
2023-11-23 09:24:44 +01:00
Raphaël Gomès
aa20391f22
Only activate direct mode by default for local
...
45386750a4
reverted my initial change.
This re-enables direct mode by default, making sure only the disk
cache is affected. There may still be an issue with Windows, but
details are sparse and no reproduction has been found yet.
2023-11-23 09:13:36 +01:00
Mike Hommey
240c38f4df
Catch panics in the server and transmit them as errors to the client.
...
Currently, when the server panics, the client never gets a response, and
the compilation gets stuck. The only indication of something going wrong
is in the logs if they are enabled.
With this change, the error is transmitted to the client, which then
fails and prints it. For instance, one of the out-of-bound accesses
fixed in #1980 now prints this on the client side before returning a
non-zero exit code:
sccache: encountered fatal error
sccache: error: thread 'tokio-runtime-worker' panicked at src/compiler/c.rs:612:25: range end index 7 out of range for slice of length 1
sccache: caused by: thread 'tokio-runtime-worker' panicked at src/compiler/c.rs:612:25: range end index 7 out of range for slice of length 1
Fixes #756
2023-11-23 09:13:21 +01:00
Mike Hommey
7ce7810610
Remove uses of Lazy<Mutex<T>>
...
Mutex<T>::new has been const since 1.63.0.
2023-11-23 09:12:43 +01:00
Mike Hommey
d3d5cbe303
Add support for `--` on clang/clang-cl command-line
...
Fixes #1498
2023-11-23 08:58:39 +01:00
Mike Hommey
e5fde16118
Fix test_parse_arguments_multiarch_cache_disabled
...
The test fails when SCCACHE_CACHE_MULTIARCH is set, which can either
happen externally, or when another tests sets it via with_var.
with_var_unset prevents both (temp_env has a global lock specifically
to avoid the problem with concurrent tests).
Fixes #1982
2023-11-23 14:52:54 +09:00
Mike Hommey
68d0409108
Fix some possible out-of-bound accesses in process_preprocesed_{file,line}
2023-11-22 09:02:22 +01:00
Sylvestre Ledru
7cca55a4ac
prepare version 0.7.3
2023-11-20 09:20:52 +01:00
Sylvestre Ledru
45386750a4
Revert "Activate preprocessor cache mode by default"
...
Causes: https://github.com/mozilla/sccache/issues/1967
This reverts commit e63185b6d4
.
2023-11-19 21:13:58 +01:00
Sylvestre Ledru
f6fd5ddd2a
Fix some typos
2023-11-14 21:51:23 +01:00
Sylvestre Ledru
0aeceae3be
prepare version 0.7.2
2023-11-14 21:25:46 +01:00
roblabla
2f1bf9b128
Don't pass wd4668 to clang-cl
2023-11-14 21:23:39 +01:00
dependabot[bot]
7358e8c27a
build(deps): bump zstd from 0.12.4 to 0.13.0
...
Bumps [zstd](https://github.com/gyscos/zstd-rs ) from 0.12.4 to 0.13.0.
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/compare/v0.12.4...v0.13.0 )
---
updated-dependencies:
- dependency-name: zstd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 13:16:37 +01:00
dependabot[bot]
8f371ef378
build(deps): bump bytes from 1.4.0 to 1.5.0
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 10:27:22 +01:00
dependabot[bot]
17f20db702
build(deps): bump base64 from 0.21.3 to 0.21.5
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.3 to 0.21.5.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.3...v0.21.5 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 09:57:42 +01:00
dependabot[bot]
033ea2a5f9
build(deps): bump jobserver from 0.1.26 to 0.1.27
...
Bumps [jobserver](https://github.com/alexcrichton/jobserver-rs ) from 0.1.26 to 0.1.27.
- [Commits](https://github.com/alexcrichton/jobserver-rs/commits )
---
updated-dependencies:
- dependency-name: jobserver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 09:57:20 +01:00
dependabot[bot]
147aacf5f2
build(deps): bump semver from 1.0.17 to 1.0.20
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.17 to 1.0.20.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.17...1.0.20 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 09:54:34 +01:00
Raphaël Gomès
e63185b6d4
Activate preprocessor cache mode by default
...
Preprocessor cache mode (or "direct mode" in ccache speak), offers a
measurable improvement for C/C++ caching.
A non-scientific test of compiling Firefox on a Ryzen 7950x with
hot caches saw this mode changing the wall time from ~48s to ~13s.
This is the overall time spent in `mach build` with the only work
needed is to recompile all C++.
As noted in the docs, this applies only to local storage.
2023-11-14 09:53:30 +01:00
Raphaël Gomès
b3e75d0861
Fix input file times in end-to-end tests
...
Explanations inline.
2023-11-14 09:53:30 +01:00
Raphaël Gomès
9d9ea15f90
Appease the TOML formatter
2023-11-14 09:53:30 +01:00
Raphaël Gomès
a39b53bbd9
Parametrize relevant tests with preprocessor cache
...
Some compile tests should be run with and without preprocessor cache
active. We introduce a new dev dependency that allows us to parametrize
tests easily, with no duplication.
2023-11-14 09:53:30 +01:00
Raphaël Gomès
9ad19a2266
Add dummy input file to all tests that call the preprocessor
...
This fixes a ENOENT for when the preprocessor cache tries to read it.
2023-11-14 09:53:30 +01:00
Raphaël Gomès
012424de58
Improve context for open error when opening the input file
...
We now get the path that failed to open.
2023-11-14 09:53:30 +01:00
Mike Hommey
71a528fe09
Comment out the logging setup in the test harness
...
It was accidentally uncommented in 520a30b6
.
2023-11-14 09:13:20 +01:00
Mike Hommey
725ae6fc30
Fix location of the local daemon log in the test harness
...
/tmp is a location that will usually not be user-writable on Windows.
2023-11-14 09:13:20 +01:00
Mike Hommey
01bfa41f3a
Fail early if the local daemon doesn't start properly during tests
2023-11-14 07:35:20 +01:00
Mike Hommey
78ce03ceed
Fix off-by-one in line number replacement code
...
Going through the current code fails with:
```
thread 'tokio-runtime-worker' panicked at src/compiler/c.rs:687:37:
source slice length (3) does not match destination slice length (2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
2023-11-14 07:34:08 +01:00
Sylvestre Ledru
1d71d5d810
prepare version 0.7.1
2023-11-07 14:10:05 +01:00
Sylvestre Ledru
9513878538
When fails to connect, show the error
...
Will help with issue #1938
2023-11-07 13:06:02 +01:00
dependabot[bot]
891e65a8b3
build(deps): bump directories from 5.0.0 to 5.0.1
...
Bumps [directories](https://github.com/soc/directories-rs ) from 5.0.0 to 5.0.1.
- [Commits](https://github.com/soc/directories-rs/commits )
---
updated-dependencies:
- dependency-name: directories
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 11:54:58 +01:00
dependabot[bot]
1f04ad7cd2
build(deps): bump toml from 0.7.6 to 0.8.6
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.7.6 to 0.8.6.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.6...toml-v0.8.6 )
---
updated-dependencies:
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 11:54:51 +01:00
dependabot[bot]
a2db9fb124
build(deps): bump byteorder from 1.4.3 to 1.5.0
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.4.3 to 1.5.0.
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.3...1.5.0 )
---
updated-dependencies:
- dependency-name: byteorder
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 11:54:32 +01:00
Sylvestre Ledru
16b2034500
add a pre-commit conf
2023-11-07 09:43:02 +01:00
dependabot[bot]
57b263ed0d
build(deps): bump assert_cmd from 2.0.11 to 2.0.12
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 2.0.11 to 2.0.12.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.11...v2.0.12 )
---
updated-dependencies:
- dependency-name: assert_cmd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 09:42:36 +01:00
dependabot[bot]
3ead089a36
build(deps): bump hyper from 0.14.25 to 0.14.27
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.25 to 0.14.27.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.27/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.25...v0.14.27 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 09:42:12 +01:00
dependabot[bot]
037c7575a8
build(deps): bump blake3 from 1.3.3 to 1.5.0
...
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.3.3 to 1.5.0.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.3.3...1.5.0 )
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 09:42:05 +01:00