Skip to content

Commit b6e9217

Browse files
diliopfacebook-github-bot
authored andcommitted
[rust-1.87.0] Update platform010 & platform010-aarch64 symlinks
Summary: Release notes: https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/ Relevant changes: * `feature(extract_if)` stabilized * `feature(ptr_sub_ptr)` stabilized * `feature(os_str_display)` stabilized * `feature(slice_take)` stabilized * `feature(hash_raw_entry)` removed * `sub_ptr` renamed to `offset_from_unsigned` ([#137483](rust-lang/rust#137483)) * `MaybeUninit::uninit_array()` uses replaced with inline const blocks ([#125082](rust-lang/rust#125082)) * Lint `#[must_use`] attributes applied to methods in trait impls ([#136923](rust-lang/rust#136923)) * `clippy` lints: `io_other_error`, `elidable_lifetime_names`, `mem_replace_option_with_some`, `manual_contains`, `owned_cow` Test Plan: - `arc rust-check fbsource//xplat/rust/toolchain/sysroot/1.87.0:std` - `buck2 build fbsource//third-party/rust/ci:rust-third-party` - `arc rust-check fbcode//common/rust/...` - `fbcode/common/rust/tools/scripts/third-party-check.sh` - `arc rust-clippy fbcode//common/rust/... fbcode//buck2/allocative/... fbcode//buck2/app/... fbcode//buck2/buck2_tpx_cli/... fbcode//buck2/dice/... fbcode//buck2/dice_replay/... fbcode//buck2/facebook/... fbcode//buck2/gazebo/... fbcode//buck2/host_sharing/... fbcode//buck2/integrations/... fbcode//buck2/remote_execution/... fbcode//buck2/shed/... fbcode//buck2/starlark-rust/... fbcode//buck2/superconsole/... fbcode//remote_execution/... fbcode//target_determinator/...` - `fbcode/common/rust/tools/scripts/check_all.sh` - `fbcode/buck2/scripts/ci.sh` #buildall #buildmore Reviewed By: dtolnay Differential Revision: D75010345 fbshipit-source-id: ab6ee65fe82eb7fe90b5aa9bbeeedefed2befad1
1 parent c888525 commit b6e9217

File tree

1 file changed

+1
-1
lines changed
  • antlir/antlir2/libcap/src

1 file changed

+1
-1
lines changed

antlir/antlir2/libcap/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl Capabilities {
8888
let cap_text = self.cap_text()?;
8989
let cstr = unsafe { CStr::from_ptr(cap_text.0) };
9090
cstr.to_str()
91-
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
91+
.map_err(|e| std::io::Error::other(e))
9292
.map(|s| s.to_owned())
9393
}
9494
}

0 commit comments

Comments
 (0)