Commit bc4c2c9
committed
design: the macos alias is one rule, and mcpp already had it
W3 said mcpp accepts the alias; it did not say where the fold lives. The
implementation lifted it into mcpp::platform::xpkg_platform_key_for, which
TargetPlatform::for_os and the manifest parser both call, and takes the host
key from xpkg_platform rather than a second #if — an earlier draft hand-rolled
both, which would have been a third copy of a two-line table.1 parent d92a1b9 commit bc4c2c9
1 file changed
Lines changed: 12 additions & 4 deletions
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
| |||
0 commit comments