From be8f656fac6e2ec8325707b88952c913883b2867 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Fri, 13 Jan 2023 15:44:33 +0000 Subject: [PATCH] Pass --frozen to cargo to ensure ./y.rs prepare fetches all deps --- .github/workflows/nightly-cranelift.yml | 2 ++ build_system/utils.rs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly-cranelift.yml b/.github/workflows/nightly-cranelift.yml index 8b3bfab7071..c3dd7445fd8 100644 --- a/.github/workflows/nightly-cranelift.yml +++ b/.github/workflows/nightly-cranelift.yml @@ -36,6 +36,8 @@ jobs: cat Cargo.toml + cargo fetch + - name: Build without unstable features # This is the config rust-lang/rust uses for builds run: ./y.rs build --no-unstable-features diff --git a/build_system/utils.rs b/build_system/utils.rs index afbb1b0e5be..f2b1fecedc1 100644 --- a/build_system/utils.rs +++ b/build_system/utils.rs @@ -111,7 +111,8 @@ impl CargoProject { .arg("--manifest-path") .arg(self.manifest_path(dirs)) .arg("--target-dir") - .arg(self.target_dir(dirs)); + .arg(self.target_dir(dirs)) + .arg("--frozen"); cmd }