Skip to content

Commit

Permalink
Demote Apple 32bits targets to Tier 3 (#13)
Browse files Browse the repository at this point in the history
* Update config.yaml
* Update default config generation
* Update config tests
  • Loading branch information
LeSeulArtichaut authored Mar 12, 2020
1 parent f025ce0 commit dffa0dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ cache_path: /tmp/manifests/
# Platform tiers lists
tiers:
Tier1:
- "i686-apple-darwin"
- "i686-pc-windows-gnu"
- "i686-pc-windows-msvc"
- "i686-unknown-linux-gnu"
Expand All @@ -57,13 +56,10 @@ tiers:
- "arm-unknown-linux-musleabi"
- "arm-unknown-linux-musleabihf"
- "armv5te-unknown-linux-gnueabi"
- "armv7-apple-ios"
- "armv7-linux-androideabi"
- "armv7-unknown-linux-gnueabihf"
- "armv7-unknown-linux-musleabihf"
- "armv7s-apple-ios"
- "asmjs-unknown-emscripten"
- "i386-apple-ios"
- "i586-pc-windows-msvc"
- "i586-unknown-linux-gnu"
- "i586-unknown-linux-musl"
Expand Down Expand Up @@ -102,6 +98,10 @@ tiers:
- "powerpc-unknown-linux-gnuspe"
- "sparc-unknown-linux-gnu"
Tier3:
- "armv7-apple-ios"
- "armv7s-apple-ios"
- "i386-apple-ios"
- "i686-apple-darwin"
- "i686-unknown-haiku"
- "i686-unknown-netbsd"
- "le32-unknown-nacl"
Expand Down
14 changes: 7 additions & 7 deletions web/src/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ cache_path: /tmp/manifests/
# Platform tiers lists
tiers:
Tier1:
- "i686-apple-darwin"
- "i686-pc-windows-gnu"
- "i686-pc-windows-msvc"
- "i686-unknown-linux-gnu"
Expand All @@ -128,13 +127,10 @@ tiers:
- "arm-unknown-linux-musleabi"
- "arm-unknown-linux-musleabihf"
- "armv5te-unknown-linux-gnueabi"
- "armv7-apple-ios"
- "armv7-linux-androideabi"
- "armv7-unknown-linux-gnueabihf"
- "armv7-unknown-linux-musleabihf"
- "armv7s-apple-ios"
- "asmjs-unknown-emscripten"
- "i386-apple-ios"
- "i586-pc-windows-msvc"
- "i586-unknown-linux-gnu"
- "i586-unknown-linux-musl"
Expand Down Expand Up @@ -173,6 +169,10 @@ tiers:
- "powerpc-unknown-linux-gnuspe"
- "sparc-unknown-linux-gnu"
Tier3:
- "armv7-apple-ios"
- "armv7s-apple-ios"
- "i386-apple-ios"
- "i686-apple-darwin"
- "i686-unknown-haiku"
- "i686-unknown-netbsd"
- "le32-unknown-nacl"
Expand Down Expand Up @@ -224,17 +224,17 @@ mod test {
Some("/tmp/manifests/"),
defaults.cache_path.as_ref().and_then(|x| x.to_str()),
);
assert_eq!(Some(8), defaults.html.tiers.get(&Tier::Tier1).map(Vec::len));
assert_eq!(Some(7), defaults.html.tiers.get(&Tier::Tier1).map(Vec::len));
assert_eq!(
Some(49),
Some(46),
defaults.html.tiers.get(&Tier::Tier2).map(Vec::len)
);
assert_eq!(
Some(5),
defaults.html.tiers.get(&Tier::Tier25).map(Vec::len)
);
assert_eq!(
Some(15),
Some(19),
defaults.html.tiers.get(&Tier::Tier3).map(Vec::len)
);
}
Expand Down

0 comments on commit dffa0dc

Please sign in to comment.