Commit 5bf265b
committed
Rename
The `PlatformArchitecture` test helper struct holds information
about whether we are 64-bit or 32-bit and whether the system we are
running on is 64-bit or 32-bit. It doesn't hold information about
architecture beyond that. The name `PlatformArchitecture` made
sense in #1456 when this fully captured the relevant architecture
distinctions. But now, although `gix-path` doesn't work differently
between x86_64 and ARM64 systems, the distinction betwee x86_64 and
ARM64 is important in the design.
This renames `PlatformArchitecture` to `PlatformBitness`, while
names that refer to architecture in a way not completely reducible
to a 32-bit vs. 64-bit distinction are not renamed "bitness."PlatformArchitecture helper PlatformBitness
1 parent 2c6dcb2 commit 5bf265b
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
0 commit comments