Skip to content

Commit

Permalink
Bump MSRV to nightly 2022-09-04
Browse files Browse the repository at this point in the history
This is required since adding the no-op personality function breaks older
versions of rust which have `eh_personality` in the `panic_unwind` crate.
  • Loading branch information
ayrtonm committed Sep 13, 2022
1 parent d83d161 commit 0a7e232
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ implementations of graphics functions, and the addition of missing libraries.
## Dependencies

To compile for the PSP, you will need a Rust **nightly** version equal to or
later than `2022-06-11` and the `rust-src` component. Please install Rust using
later than `2022-09-04` and the `rust-src` component. Please install Rust using
https://rustup.rs/

Use the following if you are new to Rust. (Feel free to set an override manually
Expand Down
6 changes: 3 additions & 3 deletions cargo-psp/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ impl fmt::Display for CommitDate {
}
}

// Minimum 2022-06-11, remember to update both commit date and version too,
// Minimum 2022-09-04, remember to update both commit date and version too,
// below. Note that the `day` field lags by one day, as the toolchain always
// contains the previous days' nightly rustc.
const MINIMUM_COMMIT_DATE: CommitDate = CommitDate {
year: 2022,
month: 06,
day: 10,
month: 09,
day: 04,
};
const MINIMUM_RUSTC_VERSION: Version = Version {
major: 1,
Expand Down
2 changes: 1 addition & 1 deletion ci/concourse/build-rust-macos.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
platform: darwin

params:
RUSTUP_TOOLCHAIN: nightly-2022-06-11
RUSTUP_TOOLCHAIN: nightly-2022-09-04

inputs:
- name: repo
Expand Down
2 changes: 1 addition & 1 deletion ci/concourse/build-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ image_resource:
tag: 1.44-slim

params:
RUSTUP_TOOLCHAIN: nightly-2022-06-11
RUSTUP_TOOLCHAIN: nightly-2022-09-04

inputs:
- name: repo
Expand Down

0 comments on commit 0a7e232

Please sign in to comment.