Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
rustup default ${{matrix.rust_channel}}
- name: MSRV dependencies
if: matrix.rust_channel == '1.42.0'
run: cargo update -p indexmap --precise 1.6.2
run: |
cargo update -p indexmap --precise 1.6.2
cargo update -p rayon --precise 1.5.3
cargo update -p rayon-core --precise 1.9.3
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
5 changes: 3 additions & 2 deletions src/read/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ mod imp {
value_ptr as *mut T,
// Success: `Ordering::Release` is needed so that the content of the stored `Arc`
// is visible to other threads. No ordering is required for the null ptr that is
// loaded.
Ordering::Release,
// loaded, but older rust versions (< 1.64) require that its ordering must not
// be weaker than the failure ordering, so we use `Ordering::AcqRel`.
Ordering::AcqRel,
// Failure: `Ordering::Acquire` is needed so that the content of the loaded `Arc`
// is visible to this thread.
Ordering::Acquire,
Expand Down