File tree Expand file tree Collapse file tree 10 files changed +16
-12
lines changed Expand file tree Collapse file tree 10 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
10
10
check :
11
- name : Check (1.56 .0)
11
+ name : Check (1.59 .0)
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v3
15
- - uses : dtolnay/rust-toolchain@1.56 .0
15
+ - uses : dtolnay/rust-toolchain@1.59 .0
16
16
- run : cp ci/compat-Cargo.lock ./Cargo.lock
17
17
- run : cargo check --verbose --locked
18
18
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
10
10
check :
11
- name : Check (1.56 .0)
11
+ name : Check (1.59 .0)
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v3
15
- - uses : dtolnay/rust-toolchain@1.56 .0
15
+ - uses : dtolnay/rust-toolchain@1.59 .0
16
16
- run : cp ci/compat-Cargo.lock ./Cargo.lock
17
17
- run : cargo check --verbose --locked
18
18
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version = "1.6.1"
4
4
authors = [" Niko Matsakis <niko@alum.mit.edu>" ,
5
5
" Josh Stone <cuviper@gmail.com>" ]
6
6
description = " Simple work-stealing parallelism for Rust"
7
- rust-version = " 1.56 "
7
+ rust-version = " 1.59 "
8
8
edition = " 2021"
9
9
license = " MIT OR Apache-2.0"
10
10
repository = " https://github.com/rayon-rs/rayon"
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Rayon crate] ( https://img.shields.io/crates/v/rayon.svg )] ( https://crates.io/crates/rayon )
4
4
[ ![ Rayon documentation] ( https://docs.rs/rayon/badge.svg )] ( https://docs.rs/rayon )
5
- ![ minimum rustc 1.56 ] ( https://img.shields.io/badge/rustc-1.56 +-red.svg )
5
+ ![ minimum rustc 1.59 ] ( https://img.shields.io/badge/rustc-1.59 +-red.svg )
6
6
[ ![ build status] ( https://github.com/rayon-rs/rayon/workflows/master/badge.svg )] ( https://github.com/rayon-rs/rayon/actions )
7
7
[ ![ Join the chat at https://gitter.im/rayon-rs/Lobby ] ( https://badges.gitter.im/rayon-rs/Lobby.svg )] ( https://gitter.im/rayon-rs/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge )
8
8
@@ -84,7 +84,7 @@ just add:
84
84
use rayon :: prelude :: * ;
85
85
```
86
86
87
- Rayon currently requires ` rustc 1.56 .0 ` or greater.
87
+ Rayon currently requires ` rustc 1.59 .0 ` or greater.
88
88
89
89
### Usage with WebAssembly
90
90
Original file line number Diff line number Diff line change
1
+ # Unreleased
2
+
3
+ - The minimum supported ` rustc ` is now 1.59.
4
+
1
5
# Release rayon-core 1.10.2 (2023-01-22)
2
6
3
7
- Fixed miri-reported UB for SharedReadOnly tags protected by a call.
Original file line number Diff line number Diff line change 1
1
status = [
2
- " Check (1.56 .0)" ,
2
+ " Check (1.59 .0)" ,
3
3
" Test (ubuntu-latest, stable)" ,
4
4
" Test (ubuntu-latest, stable-i686)" ,
5
5
" Test (ubuntu-latest, beta)" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ description = "Core APIs for Rayon"
7
7
license = " MIT OR Apache-2.0"
8
8
repository = " https://github.com/rayon-rs/rayon"
9
9
documentation = " https://docs.rs/rayon/"
10
- rust-version = " 1.56 "
10
+ rust-version = " 1.59 "
11
11
edition = " 2021"
12
12
links = " rayon-core"
13
13
build = " build.rs"
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ Please see [Rayon Docs] for details about using Rayon.
8
8
9
9
[ Rayon Docs ] : https://docs.rs/rayon/
10
10
11
- Rayon-core currently requires ` rustc 1.56 .0 ` or greater.
11
+ Rayon-core currently requires ` rustc 1.59 .0 ` or greater.
Original file line number Diff line number Diff line change @@ -686,7 +686,7 @@ pub(super) struct WorkerThread {
686
686
// worker is fully unwound. Using an unsafe pointer avoids the need
687
687
// for a RefCell<T> etc.
688
688
thread_local ! {
689
- static WORKER_THREAD_STATE : Cell <* const WorkerThread > = Cell :: new( ptr:: null( ) ) ;
689
+ static WORKER_THREAD_STATE : Cell <* const WorkerThread > = const { Cell :: new( ptr:: null( ) ) } ;
690
690
}
691
691
692
692
impl From < ThreadBuilder > for WorkerThread {
Original file line number Diff line number Diff line change 1
1
[package ]
2
- rust-version = " 1.56 "
2
+ rust-version = " 1.59 "
3
3
edition = " 2021"
4
4
name = " rayon-demo"
5
5
version = " 0.0.0"
You can’t perform that action at this time.
0 commit comments