summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-06-08 04:04:07 +0200
committerGitHub <noreply@github.com>2023-06-08 04:04:07 +0200
commitdd6458b30a4c1ecf4fab1eaffb4563734c5df284 (patch)
tree9bc784194048b34cc73c6fcfeaeb5ec56cb0de41
parent90c2bcdcf81f37d2e40ef2c8abf46fe912cac1d0 (diff)
chore: upgrade to Rust 1.68.2 (#19416)
Also prints disk size in release builds.
-rwxr-xr-x.github/workflows/ci.generate.ts7
-rw-r--r--.github/workflows/ci.yml5
-rw-r--r--rust-toolchain.toml2
3 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index efe9e17de..616d4653b 100755
--- a/.github/workflows/ci.generate.ts
+++ b/.github/workflows/ci.generate.ts
@@ -575,7 +575,12 @@ const ci = {
"(github.ref == 'refs/heads/main' ||",
"startsWith(github.ref, 'refs/tags/'))))",
].join("\n"),
- run: "cargo build --release --locked --all-targets",
+ run: [
+ // output fs space before and after building
+ "df -h",
+ "cargo build --release --locked --all-targets",
+ "df -h",
+ ].join("\n"),
},
{
name: "Upload PR artifact (linux)",
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8a20b6cd2..a2cfa572c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -349,7 +349,10 @@ jobs:
(github.repository == 'denoland/deno' &&
(github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/tags/')))))
- run: cargo build --release --locked --all-targets
+ run: |-
+ df -h
+ cargo build --release --locked --all-targets
+ df -h
- name: Upload PR artifact (linux)
if: |-
!(github.event_name == 'pull_request' && matrix.skip_pr) && (matrix.job == 'test' &&
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index b2cf8c5f2..434cca457 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "1.68.0"
+channel = "1.68.2"
components = ["rustfmt", "clippy"]