Skip to content

Commit da08b60

Browse files
committed
correctly take unstable-features
1 parent 3610273 commit da08b60

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
rust:
15+
rust:
1616
# MSRV
17-
- 1.46.0
17+
- 1.51.0
1818
- stable
1919
os: [ubuntu-latest, macos-latest, windows-latest]
2020
experimental: [false]

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- MSRV Changed to 1.51
13+
- Bump `clap` to 2.34 and `regex` to 1.56
14+
15+
### Fixed
16+
17+
- Fixed incorrect parsing of `-Z` flags causing them to not be considered (#128)
18+
1019
## [v0.3.6] - 2022-06-20
1120

1221
### Added

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ version = "0.3.6"
1616

1717
[dependencies]
1818
cargo_metadata = "0.14"
19-
clap = "2.33"
20-
regex = "1.5.5"
19+
clap = "2.34"
20+
regex = "1.5.6"
2121
rustc-cfg = "0.4"
2222
rustc-demangle = "0.1"
2323
rustc_version = "0.4"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ linker = "rust-lld"
209209

210210
## Minimum Supported Rust Version (MSRV)
211211

212-
This crate is guaranteed to compile on stable Rust 1.46.0 and up. It *might*
212+
This crate is guaranteed to compile on stable Rust 1.51.0 and up. It *might*
213213
compile with older versions but that may change in any new patch release.
214214

215215
## License

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ fn cargo_build_args<'a>(matches: &'a ArgMatches<'a>, cargo: &mut Command) -> (Bu
541541
cargo.arg("--offline");
542542
}
543543

544-
if let Some(unstable_features) = matches.values_of("Z") {
544+
if let Some(unstable_features) = matches.values_of("unstable-features") {
545545
for unstable_feature in unstable_features {
546546
cargo.args(&["-Z", unstable_feature]);
547547
}

0 commit comments

Comments
 (0)