tests: only use PipeWriter if rust-version >= 1.87
By using conditional compilation, we now support running the test suite with Rust versions 1.83 to 1.86 again. This allows us to lower the `rust-version` specified in the root Cargo.toml (because it was controlling the toolchain used in CI) to 1.83, resolving #230. This solution keeps tests operational on our MSRV while also lowering it. It would have been unsatisfying to have an MSRV which could not compile the tests. `rustversion` was selected as the dependency to control the conditional compilation since it was already a build dependency needed by `vergen-gitcl`, so no new dependencies were added.
This commit is contained in:
parent
c0497c990d
commit
0fd0dd75e9
4 changed files with 38 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
[workspace]
|
||||
members = ["macros", "testwl"]
|
||||
members = ["macros", "testwl", "wl_drm"]
|
||||
|
||||
[workspace.dependencies]
|
||||
wayland-client = "0.31.2"
|
||||
|
|
@ -12,7 +12,7 @@ rustix = "0.38.31"
|
|||
all = "deny"
|
||||
|
||||
[workspace.package]
|
||||
rust-version = "1.87.0"
|
||||
rust-version = "1.83.0"
|
||||
|
||||
[package]
|
||||
name = "xwayland-satellite"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue