mirror of
https://github.com/facebookexperimental/reverie.git
synced 2025-01-23 05:06:23 +00:00
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](https://github.com/rust-lang/rust/pull/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](https://github.com/rust-lang/rust/pull/118487)) from [#95228](https://github.com/rust-lang/rust/issues/95228) * `buck2` OSS toolchain bump to `nightly-2023-12-11` just before [#11878](https://github.com/rust-lang/rust-clippy/pull/11878) and a bunch of other clippy lint renames. Reviewed By: dtolnay Differential Revision: D53776867 fbshipit-source-id: 78db83d8cdd6b0abae2b94ed1075e67b501fcd73
This commit is contained in:
parent
d3e069f0bb
commit
4bf3d8d090
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
|||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#![allow(invalid_reference_casting)]
|
||||
|
||||
use core::iter::repeat;
|
||||
use core::mem::MaybeUninit;
|
||||
use core::sync::atomic::AtomicU32;
|
||||
|
@ -219,6 +221,9 @@ where
|
|||
// before dereferencing.
|
||||
// 3. We are inside a spin lock that ensures each entry in the
|
||||
// chunks array will only be written to once.
|
||||
//
|
||||
// TODO: remove #![allow(invalid_reference_casting)] and replace with
|
||||
// UnsafeCell
|
||||
unsafe {
|
||||
let chunk_pointer_pointer =
|
||||
self.chunks.get_unchecked(chunk_count as usize) as *const ChunkPointer<T>;
|
||||
|
|
Loading…
Reference in a new issue