Commit 214fb2c
committed
fix(build): never auto-repair a toolchain the user selected as msvc@system
mcpp never picks msvc@system itself — it cannot install one — so the only way
it reaches config.toml is a user running `mcpp toolchain default msvc`. Under
the origin rules that landed as GlobalDefault, i.e. repairable, which would
have silently moved a user who evidently wants MSVC (and is most likely just
missing the SDK component) onto MinGW instead of naming the component to
install.
Also records the implementation findings in the plan doc — the ones the plan
could not have predicted, notably that the raw argv[0] was deliberate, that
the Windows branch of command_from_argv is not compiled on the platforms mcpp
is developed on, and that Directives is cache-serialized.1 parent 061314d commit 214fb2c
2 files changed
Lines changed: 31 additions & 1 deletion
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
1003 | 1017 | | |
1004 | 1018 | | |
1005 | 1019 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
1405 | | - | |
| 1405 | + | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
| |||
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
1435 | 1450 | | |
1436 | 1451 | | |
| 1452 | + | |
1437 | 1453 | | |
1438 | 1454 | | |
1439 | 1455 | | |
| |||
0 commit comments