Closed plemarquand closed 4 months ago
@compnerd, @tristanlabelle what are your thoughts on this?
where
on windows will return all the paths. Warning about the ambiguity makes sense.
The runtime is not ABI stable, so anything other than the single version installation seems fragile - there's no guarantee that the right runtime is being used. There's a desire to support multiple versions, which is why the installer has gained support for that, but the work to support parallel installs is incomplete.
This seems to be something which would be nice to support, indicating ambiguity seems like a positive, but we still have more work to do.
It is possible for
which swift
to return multiple lines if the user has more than one Swift toolchain installed. Windows behavior is to use the first one, so we use it as well but also warn the user.