Skip to content

Commit 4bf3d8d

Browse files
diliopfacebook-github-bot
authored andcommitted
Update platform010 & platform010-aarch64 symlinks
Summary: `1.76.0` release with fixes addressing the following: * Release notes ([link](https://releases.rs/docs/1.76.0/)) * Most notable is [#118054](rust-lang/rust#118054) manifesting as: ``` error: unused implementer of `futures::Future` that must be used --> fbcode/mlx/metalearner/housekeeper/housekeeper.rs:213:13 | 213 | self.ping_oncall(&oncall, usecases); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: futures do nothing unless you `.await` or poll them = note: requested on the command line with `-D unused-must-use` ``` * Changes in `search_index.js` spec for `rustdoc` ([link](https://github.com/rust-lang/rust/pull/118910/files#diff-3ac57789ddcd2856a3b4f0c444f2813315179bdbe55bb945fe64fcb27b53fee5L491)) * Split of `#![feature(exposed_provenance)]` ([link](rust-lang/rust#118487)) from [#95228](rust-lang/rust#95228) * `buck2` OSS toolchain bump to `nightly-2023-12-11` just before [#11878](rust-lang/rust-clippy#11878) and a bunch of other clippy lint renames. Reviewed By: dtolnay Differential Revision: D53776867 fbshipit-source-id: 78db83d8cdd6b0abae2b94ed1075e67b501fcd73
1 parent d3e069f commit 4bf3d8d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

experimental/reverie-sabre/src/slot_map.rs

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
#![allow(invalid_reference_casting)]
10+
911
use core::iter::repeat;
1012
use core::mem::MaybeUninit;
1113
use core::sync::atomic::AtomicU32;
@@ -219,6 +221,9 @@ where
219221
// before dereferencing.
220222
// 3. We are inside a spin lock that ensures each entry in the
221223
// chunks array will only be written to once.
224+
//
225+
// TODO: remove #![allow(invalid_reference_casting)] and replace with
226+
// UnsafeCell
222227
unsafe {
223228
let chunk_pointer_pointer =
224229
self.chunks.get_unchecked(chunk_count as usize) as *const ChunkPointer<T>;

0 commit comments

Comments
 (0)