We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25f8f6f commit 8d73959Copy full SHA for 8d73959
entrypoint.sh
@@ -7,6 +7,12 @@ if [ -n "$1" ]
7
then
8
rustup set profile minimal
9
rustup default "$1"
10
+else
11
+ # Ensure active toolchain is installed if explicit rust-version is not passed.
12
+ # Starting with v1.28, rustup is not going to install active toolchain by default,
13
+ # and this is needed to install the active toolchain if it's not installed.
14
+ # See https://blog.rust-lang.org/2025/03/02/Rustup-1.28.0.html#whats-new-in-rustup-1280
15
+ rustup show active-toolchain || rustup toolchain install
16
fi
17
18
if [ -n "$2" ]
0 commit comments