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
// 1.Background: There are cases where projects are pinned to specific Rust versions, and it's also possible that users have installed multiple Rust versions.
102
+
103
+
// 2.Result: This leads to matching failures during exact name matching.
104
+
105
+
// Example(e.g.):
106
+
// Actual Name: `1.85.1 - x86_64 - pc - windows - msvc(active)`
107
+
// activeRaw: `1.85.1 - x86_64 - pc - windows - msvc`
108
+
109
+
// This results in the error: "Sequence contains no elements"
110
+
if(i==-1)
111
+
{
112
+
i=Array.FindIndex(tcs, t =>t.Name.StartsWith(activeRaw));
0 commit comments