From e805dc3f08324e0dcb1a268f0bbaeb76afea0441 Mon Sep 17 00:00:00 2001 From: prql-bot <107324867+prql-bot@users.noreply.github.com> Date: Sun, 23 Aug 2026 06:40:32 +0000 Subject: [PATCH 1/2] ci: stop pinning an unused rust toolchain in the snap build --- prqlc/packages/snap/snapcraft.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/prqlc/packages/snap/snapcraft.yaml b/prqlc/packages/snap/snapcraft.yaml index b5466a837b05..781866bf8dc6 100644 --- a/prqlc/packages/snap/snapcraft.yaml +++ b/prqlc/packages/snap/snapcraft.yaml @@ -19,9 +19,13 @@ icon: web/website/static/img/icon.svg parts: rust-deps: plugin: nil + # No `--default-toolchain`: the `prqlc` part builds from the source tree, + # where `rust-toolchain.toml` overrides whatever default we set here. + # Pinning one only downloads a second, unused toolchain — and reads as an + # MSRV guarantee the build never actually makes. override-pull: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - --profile minimal --default-toolchain 1.75.0 + --profile minimal --default-toolchain none prqlc: plugin: rust after: [rust-deps] From 527558193db1e308512961df71dfc2358ec9f9ab Mon Sep 17 00:00:00 2001 From: prql-bot <107324867+prql-bot@users.noreply.github.com> Date: Sun, 23 Aug 2026 06:47:29 +0000 Subject: [PATCH 2/2] ci: say `--default-toolchain none` in the comment, not "no flag" --- prqlc/packages/snap/snapcraft.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/prqlc/packages/snap/snapcraft.yaml b/prqlc/packages/snap/snapcraft.yaml index 781866bf8dc6..56a29d81c67c 100644 --- a/prqlc/packages/snap/snapcraft.yaml +++ b/prqlc/packages/snap/snapcraft.yaml @@ -19,10 +19,11 @@ icon: web/website/static/img/icon.svg parts: rust-deps: plugin: nil - # No `--default-toolchain`: the `prqlc` part builds from the source tree, - # where `rust-toolchain.toml` overrides whatever default we set here. - # Pinning one only downloads a second, unused toolchain — and reads as an - # MSRV guarantee the build never actually makes. + # `--default-toolchain none` (not just omitting the flag — that would + # install `stable`): the `prqlc` part builds from the source tree, where + # `rust-toolchain.toml` overrides whatever default we set here. Pinning one + # only downloads a second, unused toolchain — and reads as an MSRV + # guarantee the build never actually makes. override-pull: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain none