Shayne Fletcher
ef50616df9
ffi_returns_twice is removed
...
Summary: forward compat fix: feature ffi_returns_twice is removed in 1.78.0.
Reviewed By: dtolnay
Differential Revision: D56452209
fbshipit-source-id: f5d9f9dbd63c1213ef71d023f08e97a793f9e525
2024-04-23 14:42:40 -07:00
Dimitris Iliopoulos
4bf3d8d090
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
2024-02-20 10:31:00 -08:00
Stiopa Koltsov
00a4d01ee2
format_code_in_doc_comments = true
...
Summary: D52632085
Reviewed By: zertosh
Differential Revision: D52640376
fbshipit-source-id: da918401a991b1f15dd84e1e9066cca1457afd28
2024-01-09 16:54:59 -08:00
Andres Suarez
9ce4ac6e2b
Add default crate information
...
Summary: Adds basic info that every crate should have.
Reviewed By: dtolnay
Differential Revision: D52051107
fbshipit-source-id: 828ac6a752dbb4b419577fca08815014c8b96c42
2023-12-11 15:49:03 -08:00
Jake Bailey
7d08fc8085
Upgrade heapless 0.7.15 -> 0.8.0
...
Summary: Sync with fw-rust.
Reviewed By: zertosh
Differential Revision: D51963086
fbshipit-source-id: 22021abffef9d8815f98b0c6fc3c9d4e3971331f
2023-12-08 02:19:57 -08:00
Andres Suarez
d22b5fa9de
Update autocargo component on FBS:master
...
Reviewed By: dtolnay
Differential Revision: D51692353
fbshipit-source-id: 44864a348711875983de81758bbe05b46ad4c604
2023-11-29 18:35:29 -08:00
David Tolnay
ce2758b437
Deny stable_features lint
...
Summary:
Let's get these cleaned up. Some of these features have been stable (and therefore warning) for 2 years.
Codebases that need to support a compiler out of sync with the fbcode compiler can use `#![allow(stable_features)]`.
https://www.internalfb.com/code/fbsource/[cbb2d272daffb00e4b04465978a4fcfbf4beb204]/fbcode/buck2/starlark-rust/starlark/src/lib.rs?lines=353
Reviewed By: shayne-fletcher
Differential Revision: D50487806
fbshipit-source-id: a5e6ede09b815faa0a64cbd5fac606b89821edb3
2023-10-20 10:29:23 -07:00
David Tolnay
613bea7f70
Eliminate cast from &T to &mut T
...
Summary:
This code is 100% UB and no longer compiles in Rust 1.73.
```
error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
--> fbcode/hermetic_infra/reverie/experimental/reverie-sabre/src/thread.rs:652:32
|
652 | let slot_map_mut = &mut *((&*SLOT_MAP as *const _) as *mut _);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[deny(invalid_reference_casting)]` on by default
```
Reviewed By: JakobDegen
Differential Revision: D50488164
fbshipit-source-id: ea649d97f47ccc329a44650aff5dc467ed12b48c
2023-10-20 00:57:17 -07:00
Andres Suarez
e3c97826ef
Update serde from 1.0.176 to 1.0.185
...
Summary:
This release most notably removes the precompiled serde_derive:
https://github.com/serde-rs/serde/releases/tag/v1.0.184
Reviewed By: shayne-fletcher
Differential Revision: D48516549
fbshipit-source-id: 077f650094f9424982de9283d04ede59306947b0
2023-08-21 06:07:02 -07:00
David Tolnay
033ce7edf7
Update serde from 1.0.167 to 1.0.176
...
Reviewed By: quark-zju
Differential Revision: D47811862
fbshipit-source-id: 03cefc52f3d024a2d0fb5580bed079ff2b4651e0
2023-07-26 21:23:58 -07:00
David Tolnay
3c7aee92ee
Update serde and serde_json
...
Reviewed By: zertosh
Differential Revision: D47316922
fbshipit-source-id: bc9c0b407d27fee3d590e456d4ddba34e0228f34
2023-07-08 14:34:39 -07:00
Shayne Fletcher
09a86f99f9
codemods to remove lazy static 1/N
...
Summary:
first in a set of diffs with the intent of removing `lazy_static!` from fbcode.
this diff changes `std::sync::Mutex` and `parking_lot::Mutex` to plain `static` initializations where possible.
Reviewed By: zertosh
Differential Revision: D46335784
fbshipit-source-id: 105848f38dcb8083be77a4ad4db267058081fe53
2023-06-05 17:01:50 -07:00
Shayne Fletcher
41880aaa0e
upgrade to parking_lot-0.12.1
...
Summary: upgrade parking_lot from version 0.11.2 to version 0.12.1
Reviewed By: zertosh, diliop, dtolnay
Differential Revision: D46398501
fbshipit-source-id: ffae0ea188abad5253f1524216dd18ce9a53a74c
2023-06-02 18:45:03 -07:00
Arun Thulasi
d51b9e8a1c
Update libc-0.2.137 to libc-0.2.139
...
Reviewed By: zertosh
Differential Revision: D43203556
fbshipit-source-id: 460f339f603fec97f367967a20a4c6e7a81ad027
2023-02-12 16:30:00 -08:00
Jason White
c6532de85d
Open source experimental in-guest interception
...
Differential Revision: D41099658
fbshipit-source-id: 52b414e27abd3c0c3a6367dea225724f4220793b
2022-11-09 01:03:49 -08:00