Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: ignore failing MSRV in tower-load example #3122

Closed
wants to merge 1 commit into from

Conversation

hds
Copy link
Contributor

@hds hds commented Oct 29, 2024

Motivation

We're using the try_join! macro from tokio in the tower-load example
in the tracing-examples crate. With the latest version of Tokio
(1.41.0), this macro needs Rust 1.64.0 to compile.

Since an earlier version of Tokio has the same macro compiling on an
earlier version of Rust, and because this is just an example, it doesn't
make sense to bump the MSRV for this.

Solution

The MSRV Clippy lint has been set to allow for this instance.

We're using the `try_join!` macro from tokio in the tower-load example
in the `tracing-examples` crate. With the latest version of Tokio
(1.41.0), this macro needs Rust 1.64.0 to compile.

Since an earlier version of Tokio has the same macro compiling on an
earlier version of Rust, and because this is just an example, it doesn't
make sense to bump the MSRV for this.

The MSRV Clippy lint has been set to allow for this instance.
@hds hds requested review from hawkw, davidbarsky and a team as code owners October 29, 2024 17:39
@davidbarsky
Copy link
Member

I'd rather we just bump the MSRV for examples (or remove it entirely?)

@hds
Copy link
Contributor Author

hds commented Oct 29, 2024

@davidbarsky I've moved this change to a new PR (#3125) which is focused on the wasm32 failure, but also bumps the MSRV in tracing-examples to 1.64 as you mentioned (they have to go in together to pass CI, but pinning Rust to 1.81 for the wasm test seemed like the more important change).

This PR can now be closed as not needed.

@hds hds closed this Oct 29, 2024
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.

2 participants