File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ let specific = Expression::parse(
4747
4848// cfg_expr includes a list of every builtin target in rustc
4949let 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 ();
5150let uwp_win = get_builtin_target_by_triple (" i686-uwp-windows-msvc" ). unwrap ();
5251let 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
7666assert! (! specific . eval (| pred | {
7767 match pred {
You can’t perform that action at this time.
0 commit comments