You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/modules/languages/rust.nix
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -209,14 +209,24 @@ in
209
209
)
210
210
cfg.components;
211
211
212
+
# Add target components (rust-std for different architectures)
213
+
targetComponents=lib.map
214
+
(target:
215
+
lettargetStdName="rust-std-${target}";
216
+
incfg.toolchain.${targetStdName}ortoolchainComponents.${targetStdName}or(throw"Target '${target}' not available. rust-std-${target} component not found.")
0 commit comments