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

[auto] Update Rust toolchain to 1.79.0 #20

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG --global debian = bookworm
IMPORT github.com/earthly/lib/rust:1a4a008e271c7a5583e7bd405da8fd3624c05610 AS lib-rust

install-build-dependencies:
FROM rust:1.78.0-$debian
FROM rust:1.79.0-$debian
WORKDIR /lightway
RUN dpkg --add-architecture arm64
RUN apt-get update -qq
Expand Down
4 changes: 2 additions & 2 deletions lightway-client/src/keepalive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ mod tests {
.any(|ev| matches!(ev, FixtureEvent::TimeoutExpired))
}

fn sleep_for_interval(&self) -> futures::future::BoxFuture<()> {
fn sleep_for_interval(&self) -> impl futures::Future<Output = ()> + std::marker::Send {
println!("sleep_for_interval");
let mut inner = self.0.lock().unwrap();

Expand All @@ -368,7 +368,7 @@ mod tests {
Box::pin(async move { rx.await.unwrap() })
}

fn sleep_for_timeout(&self) -> futures::future::BoxFuture<()> {
fn sleep_for_timeout(&self) -> impl futures::Future<Output = ()> + std::marker::Send {
println!("sleep_for_timeout");
let mut inner = self.0.lock().unwrap();

Expand Down