Skip to content

Commit 87088a3

Browse files
committed
rename tuple module to target_tuple
1 parent 63fcea1 commit 87088a3

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

src/dist/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ use prefix::InstallPrefix;
4444

4545
pub mod temp;
4646

47-
pub(crate) mod tuple;
48-
pub(crate) use tuple::*;
47+
pub(crate) mod target_tuple;
48+
pub(crate) use target_tuple::*;
4949

5050
pub static DEFAULT_DIST_SERVER: &str = "https://static.rust-lang.org";
5151

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//! `tuple` is short for _target tuple_, also known as _target triple_ elsewhere
2-
31
use std::sync::LazyLock;
42

53
use regex::Regex;

src/toolchain/names.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ mod tests {
482482
use crate::{
483483
dist::{
484484
PartialToolchainDesc,
485-
tuple::known::{LIST_ARCHS, LIST_ENVS, LIST_OSES},
485+
target_tuple::known::{LIST_ARCHS, LIST_ENVS, LIST_OSES},
486486
},
487487
toolchain::names::{CustomToolchainName, ResolvableToolchainName, ToolchainName},
488488
};

tests/suite/known_tuples.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use platforms::Platform;
44

55
#[test]
66
fn gen_known_tuples() {
7-
let out_path = "src/dist/tuple/known.rs";
7+
let out_path = "src/dist/target_tuple/known.rs";
88
let existing = std::fs::read_to_string(out_path).unwrap();
99

1010
let (mut archs, mut oses, mut envs) = (BTreeSet::new(), BTreeSet::new(), BTreeSet::new());

0 commit comments

Comments
 (0)