Skip to content

Commit

Permalink
Update platform010 & platform010-aarch64 symlinks
Browse files Browse the repository at this point in the history
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
  • Loading branch information
diliop authored and facebook-github-bot committed Feb 20, 2024
1 parent d3e069f commit 4bf3d8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions experimental/reverie-sabre/src/slot_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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>;
Expand Down

0 comments on commit 4bf3d8d

Please sign in to comment.