DemesneGH commented on code in PR #141:
URL: 
https://github.com/apache/incubator-teaclave-trustzone-sdk/pull/141#discussion_r1669981165


##########
rust-toolchain.toml:
##########
@@ -18,5 +18,8 @@
 # Toolchain override for rustup
 
 [toolchain]
-channel = "nightly-2023-12-18"
+channel = "nightly-2024-05-15"
+components = [ "rust-src" ]

Review Comment:
   Building `std` needs the components `rust-src` and it increase the download 
size indeed, but setting the profile as minimal removes the components we do 
not need (at line 24-25) which reduces the download size:
   ```
   # minimal profile: install rustc, cargo, and rust-std
   profile = "minimal"
   ```
   
   By default it will download `cargo`, `clippy`, `rust-docs`, `rustc`, 
`rustfmt`...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org

Reply via email to