@@ -181,27 +181,29 @@ mod locations {
181
181
Some ( folded_text. ends_with ( & folded_pattern) )
182
182
}
183
183
184
- /// The common global program files paths on this system, by process and system architecture.
184
+ /// The most common global program files paths on this system, by process and system architecture.
185
+ ///
186
+ /// This omits the 32-bit ARM program files directory, as Git for Windows is never installed there.
185
187
#[ derive( Clone , Debug ) ]
186
188
struct ProgramFilesPaths {
187
189
/// The program files directory used for whatever architecture this program was built for.
188
190
current : PathBuf ,
189
191
190
- /// The x86 program files directory regardless of the architecture of the program.
192
+ /// The 32-bit x86 program files directory regardless of the architecture of the program.
191
193
///
192
194
/// If Rust gains Windows targets like ARMv7 where this is unavailable, this could fail.
193
195
x86 : PathBuf ,
194
196
195
197
/// The 64-bit program files directory if there is one.
196
198
///
197
- /// This is present on x64 and also ARM64 systems. On an ARM64 system, ARM64 and AMD64
198
- /// programs use the same program files directory while 32-bit x86 and ARM programs use
199
- /// two others. Only a 32-bit system has no 64-bit program files directory.
199
+ /// This is present on x64 (AMD64) and also ARM64 systems. On an ARM64 system, ARM64 and
200
+ /// AMD64 programs use the same program files directory while 32-bit x86 and 32-bit ARM
201
+ /// programs use two others. Only a 32-bit system has no 64-bit program files directory.
200
202
maybe_64bit : Option < PathBuf > ,
201
203
}
202
204
203
205
impl ProgramFilesPaths {
204
- /// Get the three common kinds of global program files paths without environment variables.
206
+ /// Get the three most common kinds of global program files paths without environment variables.
205
207
///
206
208
/// The idea here is to obtain this information, which the `alternative_locations()` unit
207
209
/// test uses to learn the expected alternative locations, without duplicating *any* of the
0 commit comments