mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-05-16 14:53:04 -04:00
Fixes #8006 The ex-WINE compilers were appearing at the **top** of the MSVC compiler dropdown instead of the bottom, because they used the MSVC compiler version (`19.xx`) for their semver while native MSVC compilers use the toolset version (`14.xx`). Since `19.xx > 14.xx`, they sorted as "newest". This aligns the ex-WINE semvers to the `14.xx` toolset versioning: - `19.00.24210` → `14.00.24210` (VS 2015 Update 3) - `19.10.25017` → `14.10.25017` (VS 2017 RTM) - `19.14.26423` → `14.14.26423` (VS 2017 15.7) These now sort correctly before `14.20` (VS 2019 16.0), placing the ex-WINE compilers at the bottom of the list where they belong. *(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)* Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>