Skip to content

Commit 8ab4221

Browse files
authored
Fix Target::get_python_arch comment (#2712) (#2726)
Fix comment for the source of get_python_arch() analog in Python. This fixes #2712
1 parent 6ceb421 commit 8ab4221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/target/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ impl Target {
378378
Ok(release)
379379
}
380380

381-
/// Returns the name python uses in `sys.platform` for this architecture.
381+
/// Returns the name python uses in `platform.machine()` for this architecture.
382382
pub fn get_python_arch(&self) -> &str {
383383
match self.arch {
384384
Arch::Aarch64 => "aarch64",

0 commit comments

Comments
 (0)