File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 60
60
- name : Check (without default features)
61
61
run : cargo check --workspace --no-default-features
62
62
- name : Check (loom)
63
- run : RUSTFLAGs ="--cfg loom" cargo check --workspace
63
+ run : RUSTFLAGS ="--cfg loom" cargo check --workspace
64
64
65
65
miri :
66
66
name : Miri
Original file line number Diff line number Diff line change 4
4
miri :
5
5
cargo + nightly miri test --no-fail-fast --all-features
6
6
7
- all : test miri
7
+ loom :
8
+ RUSTFLAGS=" --cfg loom" cargo check --workspace
9
+
10
+ all : test miri
Original file line number Diff line number Diff line change @@ -192,8 +192,7 @@ impl Table {
192
192
/// # Safety
193
193
///
194
194
/// See [`Page::get_raw`][].
195
- // TODO: This should not return a `MutPtr<T>` directly, but loom's `MutPtr` does not expose
196
- // pointer casts.
195
+ // TODO: This could return an `&UnsafeCell<T>` directly, but loom's `UnsafeCell` is not `repr(C)`
197
196
pub ( crate ) fn get_raw < T : Slot > ( & self , id : Id ) -> & UnsafeCell < MaybeUninit < T > > {
198
197
let ( page, slot) = split_id ( id) ;
199
198
let page_ref = self . page :: < T > ( page) ;
You can’t perform that action at this time.
0 commit comments