From 6eec1600785bbff7acedfa57bc6826cdac2ee9ff Mon Sep 17 00:00:00 2001 From: Serhii Tatarintsev Date: Fri, 10 May 2024 17:22:49 +0200 Subject: [PATCH] Revert rust 1.78 update (#4865) Panics when integrated into the client. https://github.com/prisma/prisma/actions/runs/9033927478/job/24825328380?pr=24151 This reverts commit e162a5269909648ad707462d90715ea0dce60f18. --- query-engine/driver-adapters/src/types.rs | 3 ++- rust-toolchain.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/query-engine/driver-adapters/src/types.rs b/query-engine/driver-adapters/src/types.rs index 70ae20c10c52..38ebb4353acf 100644 --- a/query-engine/driver-adapters/src/types.rs +++ b/query-engine/driver-adapters/src/types.rs @@ -1,5 +1,6 @@ // `clippy::empty_docs` is required because of the `tsify` crate. -#![allow(unused_imports, clippy::empty_docs)] +// TODO: uncomment after rust 1.78 update +#![allow(unused_imports/*, clippy::empty_docs*/)] use std::str::FromStr; diff --git a/rust-toolchain.toml b/rust-toolchain.toml index fd5803cb5fba..f5ddb7b288bb 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.78.0" +channel = "1.77.0" components = ["clippy", "rustfmt", "rust-src"] targets = [ # WASM target for serverless and edge environments.