diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 124bad72be..44c87e65bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,8 +116,9 @@ jobs: if: steps.rewatch-build-cache.outputs.cache-hit != 'true' uses: dtolnay/rust-toolchain@master with: - toolchain: stable + toolchain: 1.88.0 targets: ${{ matrix.rust-target }} + components: clippy, rustfmt - name: Build rewatch if: steps.rewatch-build-cache.outputs.cache-hit != 'true' diff --git a/rewatch/Cargo.toml b/rewatch/Cargo.toml index 2eace6cfc2..68fcdac31f 100644 --- a/rewatch/Cargo.toml +++ b/rewatch/Cargo.toml @@ -2,7 +2,7 @@ name = "rescript" version = "12.0.0-beta.12" edition = "2024" -rust-version = "1.85" +rust-version = "1.88" [dependencies] ahash = "0.8.3" diff --git a/rewatch/src/build/parse.rs b/rewatch/src/build/parse.rs index f1a8583ffe..f9172fb7c9 100644 --- a/rewatch/src/build/parse.rs +++ b/rewatch/src/build/parse.rs @@ -199,7 +199,7 @@ pub fn generate_asts( &build_state.bsc_path, ) { has_failure = true; - stderr.push_str(&format!("{}\n", err)); + stderr.push_str(&format!("{err}\n")); } let mlmap_hash_after = helpers::compute_file_hash(Path::new(&compile_path));