Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bindgen to fix ptr::from_raw_parts
Summary: The signature of `core::ptr::from_raw_parts` is different between Rust 1.79 and Rust 1.80, causing an ambiguity in the code produced by previous versions of bindgen. - https://doc.rust-lang.org/1.79.0/core/ptr/fn.from_raw_parts.html - https://doc.rust-lang.org/1.80.0/core/ptr/fn.from_raw_parts.html ```lang=diff - pub fn from_raw_parts<T: ?Sized>( + pub const fn from_raw_parts<T: ?Sized>( - data_pointer: *const (), + data_pointer: *const impl Thin, metadata: <T as Pointee>::Metadata, ) -> *const T ``` Reviewed By: zertosh Differential Revision: D60436185 fbshipit-source-id: 7068413c08fa155517a123d01b51821ce8f9085d
- Loading branch information