tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.52k stars 725 forks source link

ci: pin Rust to 1.81 for `wasm32-unknown-unknown` tests #3125

Closed hds closed 3 weeks ago

hds commented 3 weeks ago

Motivation

There is an incompatibility with the version of Node available on our test runners and wasm32 in Rust 1.82 (#3123).

Solution

To unblock the CI, this change pins Rust to 1.81 for the tests using the wasm32-unknown-unknown target. This is the same strategy used in Tokio to mitigate tokio-rs/tokio#6910 until a more permanent fix can be put in place.

This change also bumps the MSRV on the tracing-examples crate from 1.63.0 to 1.64.0 to avoid triggering a lint about the MSRV after a change in Tokio 1.41.0 which bumps the required Rust version for the try_join! macro. The Tokio MSRV is 1.70 now, so needing this bump for the examples seems reasonable.