From 86cac381e73ae89af9adcc3539f03083e6982d1c Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Fri, 23 Sep 2022 19:06:11 +0400 Subject: [PATCH] Use correct toolchain for codegen --- src/codegen.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen.rs b/src/codegen.rs index 5f80912b..c26575f1 100644 --- a/src/codegen.rs +++ b/src/codegen.rs @@ -23,7 +23,7 @@ use xshell::{cmd, Shell}; fn ensure_rustfmt(sh: &Shell) { // FIXME(waffle): find a better way to set toolchain - let toolchain = "nightly-2022-01-17"; + let toolchain = "nightly-2022-09-23"; let version = cmd!(sh, "rustup run {toolchain} rustfmt --version") .read() @@ -38,7 +38,7 @@ fn ensure_rustfmt(sh: &Shell) { } pub fn reformat(text: String) -> String { - let toolchain = "nightly-2022-01-17"; + let toolchain = "nightly-2022-09-23"; let sh = Shell::new().unwrap(); ensure_rustfmt(&sh);