Skip to content

Commit

Permalink
Update fbcode and xplat Rust toolchain
Browse files Browse the repository at this point in the history
Summary:
Release notes:

- 1.80.0: https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html
- 1.80.1: https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html

Changes affecting fbsource:

- New algorithm for determining what is unused code
    - ~~Large number of bogus `dead_code` warnings~~ (fixed in 1.80.1)
    - Small number of valid new `dead_code` warnings (D60317005)
- Changes to how `cargo vendor` works on git dependencies, requiring change to Reindeer and new fixups (D60436187, D60855541)
- Different signature for unstable `core::ptr::from_raw_parts`, requiring Bindgen change (D60436185)
- New clippy lints (D60469686, D60933067)
    - `clippy::doc_lazy_continuation`
    - `clippy::mutable_key_type`
    - `clippy::needless_borrows_for_generic_args`
- Identifiers used in `cfg` attribute are now checked against a table of valid cfg expressions given by Cargo.toml, which requires Autocargo support (D60706830, D60706859, D60933080)
- Feature stabilizations
    - `feature(byte_slice_trim_ascii)`
    - `feature(exclusive_range_pattern)`
    - `feature(ip_bits)`
    - `feature(lazy_cell)` (widely used in fbcode)

Reviewed By: diliop, shayne-fletcher

Differential Revision: D60317004

fbshipit-source-id: 06ba46e233bd56d8420f0de7f2d99c4c0953f59c
  • Loading branch information
David Tolnay authored and facebook-github-bot committed Aug 9, 2024
1 parent 5df8998 commit a6f99ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shed/fbinit/fbinit_macros/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use crate::expand::Mode;
/// #[fbinit::main(disable_fatal_signals = sigterm_only)
///
/// - `default`: disables SIGTERM and SIGINT, and is also the default if `disable_fatal_signals`
/// is not specified
/// is not specified
/// - `none`: disabled no signals, overrides the default
/// - `all`: disables ALL signals
/// - `sigterm_only`: disabled SIGTERM
Expand Down

0 comments on commit a6f99ff

Please sign in to comment.