Skip to content

Commit 3093713

Browse files
committed
Remove i586 from README
1 parent 37a4d82 commit 3093713

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
<!-- next-header -->
1111
## [Unreleased] - ReleaseDate
12+
### Changed
13+
- [PR#79](https://github.com/EmbarkStudios/cfg-expr/pull/79) updated the builtin target list to 1.87.0.
14+
1215
## [0.19.0] - 2025-04-03
1316
### Changed
1417
- [PR#78](https://github.com/EmbarkStudios/cfg-expr/pull/78) updated the builtin target list to 1.86.0.

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ let specific = Expression::parse(
4747

4848
// cfg_expr includes a list of every builtin target in rustc
4949
let x86_win = get_builtin_target_by_triple("i686-pc-windows-msvc").unwrap();
50-
let x86_pentium_win = get_builtin_target_by_triple("i586-pc-windows-msvc").unwrap();
5150
let uwp_win = get_builtin_target_by_triple("i686-uwp-windows-msvc").unwrap();
5251
let mac = get_builtin_target_by_triple("x86_64-apple-darwin").unwrap();
5352

@@ -63,15 +62,6 @@ assert!(specific.eval(|pred| {
6362
}
6463
}));
6564

66-
// This won't, it doesn't have the cool_thing feature!
67-
assert!(!specific.eval(|pred| {
68-
match pred {
69-
Predicate::Target(tp) => tp.matches(x86_pentium_win),
70-
Predicate::TargetFeature(feat) => avail_target_feats.contains(feat),
71-
_ => false,
72-
}
73-
}));
74-
7565
// This will *not* satisfy the vendor predicate
7666
assert!(!specific.eval(|pred| {
7767
match pred {

0 commit comments

Comments
 (0)