![]() An example of theīefore/after difference from the point of view of users is provided in Key goal of the Rust support in the kernel. Provide a safe API for users - reducing the amount of `unsafe` code is a Implementation details are fairly complex however, this is required to Problem it solves and lays out the overall architecture. #5 adds `Opaque::raw_get` to access the value inside of an `Opaque` from `UniqueArc::write` is modified to use this new function. Unsafely assumes the pointee to be initialized and returns a #4 adds the `assume_init` function to `UniqueArc>` that #3 changes the `Err` types of the constructor functions of `Arc` and It is used by the pin-init API proc-macros. The typed characters directly into Rust tokens that are the output of #2 adds a utility macro `quote!` for proc-macros. #1 enables the `pin_macro` feature which is already stable in Rust ![]() These patches are a long way coming, since I held a presentation on The Rust-doc documentation of the pin-init API can be found at. The tree at contains these patches applied on top of 6.3-rc1. This is the sixth version of the pin-init API. Subject: Rust pin-init API for pinned initialization of structsĭate: Wed, 19:35:30 +0000 Rust pin-init API for pinned initialization of structs - Benno Lossin archive mirror help / color / mirror / Atom feed From: Benno Lossin
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |