Skip to content

Commit

Permalink
[rust-1.65.0] update to Rust 1.65.0
Browse files Browse the repository at this point in the history
Summary:
Added `fbcode` symlinks for `platform010` & `platform010-aarch64` and addressed the following fixes:
* Account for stabilized [`#![feature(backtrace)]`](rust-lang/rust#99573) and [`#![feature(generic_associated_types)]`](rust-lang/rust#99573)
* Account for removal of [`#![feature(result_into_ok_or_err)]`](rust-lang/rust#100604)
* Account for migration of [`std::io::ReadBuf` to `std::io::BorrowBuf|BorrowCursor`](rust-lang/rust#97015)
* Account for [`Error` trait move into core](rust-lang/rust#99917)
* Account for `#[warn(non_camel_case_types)]`
* Various function signature, lifetime requirement changes and lint fixes

Test Plan:
```
cd ~/fbcode
buckify_tp2
./common/rust/tools/scripts/check_all.sh fbcode -- --local-only
```

Reviewed By: zertosh

Differential Revision: D40923615

fbshipit-source-id: f7ac2828d74edeae39aae517172207b0ee998a59
  • Loading branch information
diliop authored and vmagro committed Nov 10, 2022
1 parent c1baf42 commit 26feec9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion antlir/btrfs_send_stream_upgrade/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

#![feature(backtrace)]
#![feature(mutex_unlock)]
/*
* With rust 1.62, it appears that the thread sanitizer has been completely
Expand Down
1 change: 0 additions & 1 deletion antlir/find_built_subvol_rs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use absolute_path::AbsolutePathBuf;
use artifacts_dir_rs::ensure_path_in_repo;
use fs_utils_rs::AntlirPath;
use pyo3::create_exception;
use pyo3::exceptions::PyFileNotFoundError;
use pyo3::prelude::*;

create_exception!(artifacts_dir, SubvolNotFound, pyo3::exceptions::PyException);
Expand Down

0 comments on commit 26feec9

Please sign in to comment.