Skip to content

Commit 9c253de

Browse files
authored
Update to 1.90.0 (#82)
1 parent 6be48f7 commit 9c253de

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

.cargo/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ rustflags = [
3939
"-Wclippy::map_err_ignore",
4040
"-Wclippy::map_flatten",
4141
"-Wclippy::map_unwrap_or",
42-
"-Wclippy::match_on_vec_items",
4342
"-Wclippy::match_same_arms",
4443
"-Wclippy::match_wild_err_arm",
4544
"-Wclippy::match_wildcard_for_single_variants",

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#82](https://github.com/EmbarkStudios/cfg-expr/pull/82) updated the builtin target list to 1.90.0.
14+
1215
## [0.20.2] - 2025-08-07
1316
### Changed
1417
- [PR#81](https://github.com/EmbarkStudios/cfg-expr/pull/81) updated the builtin target list to 1.89.0.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
# `⚙️ cfg-expr`
66

7-
**A parser and evaluator for Rust `cfg()` expressions. Builtin targets as of [1.89.0] are supported.**
7+
**A parser and evaluator for Rust `cfg()` expressions. Builtin targets as of [1.90.0] are supported.**
88

99
[![Build Status](https://github.com/EmbarkStudios/cfg-expr/workflows/CI/badge.svg)](https://github.com/EmbarkStudios/cfg-expr/actions?workflow=CI)
1010
[![Crates.io](https://img.shields.io/crates/v/cfg-expr.svg)](https://crates.io/crates/cfg-expr)
1111
[![Docs](https://docs.rs/cfg-expr/badge.svg)](https://docs.rs/cfg-expr)
1212
[![Minimum Stable Rust Version](https://img.shields.io/badge/Rust%20MSRV-1.70.0-blue?color=fc8d62&logo=rust)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html)
13-
[![Rust Targets](https://img.shields.io/badge/Rust%20Targets-1.89.0-blue.svg)](https://forge.rust-lang.org/release/platform-support.html)
13+
[![Rust Targets](https://img.shields.io/badge/Rust%20Targets-1.90.0-blue.svg)](https://forge.rust-lang.org/release/platform-support.html)
1414
[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
1515
[![Embark](https://img.shields.io/badge/embark-open%20source-blueviolet.svg)](https://embark.dev)
1616
</div>
@@ -24,7 +24,7 @@
2424

2525
`cfg-expr` is a crate that can be used to parse and evaluate Rust `cfg()` expressions, both as declarable in Rust code itself, as well in cargo manifests' `[target.'cfg()'.dependencies]` sections.
2626

27-
It contains a list of all builtin targets known to rustc as of [1.89.0] that can be used to determine if a particular cfg expression is satisfiable.
27+
It contains a list of all builtin targets known to rustc as of [1.90.0] that can be used to determine if a particular cfg expression is satisfiable.
2828

2929
```rust
3030
use cfg_expr::{targets::get_builtin_target_by_triple, Expression, Predicate};
@@ -100,4 +100,4 @@ at your option.
100100

101101
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
102102

103-
[1.89.0]: (https://forge.rust-lang.org/release/platform-support.html)
103+
[1.90.0]: (https://forge.rust-lang.org/release/platform-support.html)

src/targets/builtins.rs

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use super::*;
1212

13-
pub(crate) const RUSTC_VERSION: &str = "1.89.0";
13+
pub(crate) const RUSTC_VERSION: &str = "1.90.0";
1414

1515
pub const ALL_BUILTINS: &[TargetInfo] = &[
1616
TargetInfo {
@@ -2122,7 +2122,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
21222122
TargetInfo {
21232123
triple: Triple::new_const("powerpc64-unknown-freebsd"),
21242124
os: Some(Os::freebsd),
2125-
abi: None,
2125+
abi: Some(Abi::elfv2),
21262126
arch: Arch::powerpc64,
21272127
env: None,
21282128
vendor: Some(Vendor::unknown),
@@ -2135,7 +2135,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
21352135
TargetInfo {
21362136
triple: Triple::new_const("powerpc64-unknown-linux-gnu"),
21372137
os: Some(Os::linux),
2138-
abi: None,
2138+
abi: Some(Abi::elfv1),
21392139
arch: Arch::powerpc64,
21402140
env: Some(Env::gnu),
21412141
vendor: Some(Vendor::unknown),
@@ -2148,7 +2148,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
21482148
TargetInfo {
21492149
triple: Triple::new_const("powerpc64-unknown-linux-musl"),
21502150
os: Some(Os::linux),
2151-
abi: None,
2151+
abi: Some(Abi::elfv2),
21522152
arch: Arch::powerpc64,
21532153
env: Some(Env::musl),
21542154
vendor: Some(Vendor::unknown),
@@ -2161,7 +2161,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
21612161
TargetInfo {
21622162
triple: Triple::new_const("powerpc64-unknown-openbsd"),
21632163
os: Some(Os::openbsd),
2164-
abi: None,
2164+
abi: Some(Abi::elfv2),
21652165
arch: Arch::powerpc64,
21662166
env: None,
21672167
vendor: Some(Vendor::unknown),
@@ -2174,7 +2174,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
21742174
TargetInfo {
21752175
triple: Triple::new_const("powerpc64-wrs-vxworks"),
21762176
os: Some(Os::vxworks),
2177-
abi: None,
2177+
abi: Some(Abi::elfv1),
21782178
arch: Arch::powerpc64,
21792179
env: Some(Env::gnu),
21802180
vendor: Some(Vendor::wrs),
@@ -2187,7 +2187,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
21872187
TargetInfo {
21882188
triple: Triple::new_const("powerpc64le-unknown-freebsd"),
21892189
os: Some(Os::freebsd),
2190-
abi: None,
2190+
abi: Some(Abi::elfv2),
21912191
arch: Arch::powerpc64,
21922192
env: None,
21932193
vendor: Some(Vendor::unknown),
@@ -2200,7 +2200,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
22002200
TargetInfo {
22012201
triple: Triple::new_const("powerpc64le-unknown-linux-gnu"),
22022202
os: Some(Os::linux),
2203-
abi: None,
2203+
abi: Some(Abi::elfv2),
22042204
arch: Arch::powerpc64,
22052205
env: Some(Env::gnu),
22062206
vendor: Some(Vendor::unknown),
@@ -2213,7 +2213,7 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[
22132213
TargetInfo {
22142214
triple: Triple::new_const("powerpc64le-unknown-linux-musl"),
22152215
os: Some(Os::linux),
2216-
abi: None,
2216+
abi: Some(Abi::elfv2),
22172217
arch: Arch::powerpc64,
22182218
env: Some(Env::musl),
22192219
vendor: Some(Vendor::unknown),
@@ -3791,6 +3791,8 @@ impl super::Abi {
37913791
pub const abiv2hf: Abi = Abi::new_const("abiv2hf");
37923792
pub const eabi: Abi = Abi::new_const("eabi");
37933793
pub const eabihf: Abi = Abi::new_const("eabihf");
3794+
pub const elfv1: Abi = Abi::new_const("elfv1");
3795+
pub const elfv2: Abi = Abi::new_const("elfv2");
37943796
pub const fortanix: Abi = Abi::new_const("fortanix");
37953797
pub const ilp32: Abi = Abi::new_const("ilp32");
37963798
pub const ilp32e: Abi = Abi::new_const("ilp32e");

0 commit comments

Comments
 (0)