Eliminate host targets from rust toolchain file (#36077)

Only cross-compilation targets need to be listed in the rust toolchain.
So we only need to list the wasi target for extensions, and the musl
target for the linux remote server. Previously, we were causing mac,
linux, and windows target to get installed onto all developer
workstations, which is unnecessary.

Release Notes:

- N/A
This commit is contained in:
Max Brunsfeld 2025-08-12 14:36:48 -07:00 committed by GitHub
parent b564b1d5d0
commit cd234e28ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,11 +3,6 @@ channel = "1.89"
profile = "minimal" profile = "minimal"
components = [ "rustfmt", "clippy" ] components = [ "rustfmt", "clippy" ]
targets = [ targets = [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-freebsd",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"wasm32-wasip2", # extensions "wasm32-wasip2", # extensions
"x86_64-unknown-linux-musl", # remote server "x86_64-unknown-linux-musl", # remote server
] ]