Skip to content

Commit

Permalink
Update MSRV to 1.65.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange committed Mar 28, 2024
1 parent 1a6f513 commit f6047c3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 25 deletions.
1 change: 0 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@1.60.0
- uses: dtolnay/rust-toolchain@1.65.0
- run: cargo xtask msrv

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2018"
keywords = ["object", "elf", "mach-o", "pe", "coff"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/gimli-rs/object"
rust-version = "1.60"
rust-version = "1.65"
description = "A unified interface for reading and writing object file formats."
include = [
"/Cargo.toml",
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ See [`crates/examples`](crates/examples) for more examples.
## Minimum Supported Rust Version (MSRV)

Changes to MSRV are considered breaking changes. We are conservative about changing the MSRV,
but sometimes are required to due to dependencies. The MSRV is:

* 1.60.0 for the `read` feature and its dependencies.
* 1.65.0 for other features.
but sometimes are required to due to dependencies. The MSRV is 1.65.0.

## License

Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.60.0"
msrv = "1.65.0"
18 changes: 0 additions & 18 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,24 +185,6 @@ fn cmd_cross() -> Result<(), DynError> {
}

fn cmd_msrv() -> Result<(), DynError> {
// Test MSRV for object read feature.
cargo(&["update", "-p", "memchr", "--precise", "2.6.2"])?;
cmd_with(
"cargo",
&[
"+1.60.0",
"test",
"-p",
"object",
"--no-default-features",
"--features",
"read,std",
],
|cmd| {
cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true");
},
)?;
cargo(&["update", "-p", "memchr"])?;
// Test MSRV for object all features.
cargo(&["update", "-p", "ahash", "--precise", "0.8.6"])?;
cmd_with(
Expand Down

0 comments on commit f6047c3

Please sign in to comment.