From ca2e4e2a9bbb34a802ddced89cecb2ab5f375880 Mon Sep 17 00:00:00 2001 From: lukas0008 Date: Fri, 6 Sep 2024 23:30:15 +0200 Subject: [PATCH] Remove targets from rust-toolchain.toml Toolchains in the rust-toolchain.toml file do not actually enforce what toolchains are supported, but specified which toolchains need to be downloaded. This forces each device building the project to download all 4 targets before actually building. --- rust-toolchain.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index c4bd27c80..aebc2ae57 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,9 +1,3 @@ [toolchain] # Anything in the latest stable version of rust is fine to use. channel = "stable" -targets = [ - "x86_64-apple-darwin", - "x86_64-pc-windows-gnu", - "x86_64-pc-windows-msvc", - "x86_64-unknown-linux-gnu", -]