-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safe Transmute RFC #5
Commits on Aug 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8e0dc26 - Browse repository at this point
Copy the full SHA 8e0dc26View commit details -
Apply suggestions from code review
typo fixes from @jonas-schievink Co-authored-by: Jonas Schievink <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 651e3bf - Browse repository at this point
Copy the full SHA 651e3bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a88370 - Browse repository at this point
Copy the full SHA 7a88370View commit details
Commits on Aug 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 32bc4b9 - Browse repository at this point
Copy the full SHA 32bc4b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ea3705 - Browse repository at this point
Copy the full SHA 6ea3705View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eafe9f - Browse repository at this point
Copy the full SHA 5eafe9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a4e576 - Browse repository at this point
Copy the full SHA 3a4e576View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00167d6 - Browse repository at this point
Copy the full SHA 00167d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf20426 - Browse repository at this point
Copy the full SHA cf20426View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5122b2 - Browse repository at this point
Copy the full SHA a5122b2View commit details -
clarify why size expansion is dangerous, but leave the door open to it
rust-lang#5 (comment) It's reasonably* valid to expand size when the bytes of destination type that overhang the source type may be uninitialized; e.g.: [MaybeUninit<u8>; 2] to [MaybeUninit<u8>; 4] I say "reasonably" valid, because the rule of thumb with `mem::transmute_copy` has always been DON'T EXPAND SIZE. But when you frame transmutation as a `union` with two variants: union Transmute<Src, Dst> { src: Src, dst: Dst, } then this interpretation of size-expanding transmutes is plausible.
Configuration menu - View commit details
-
Copy full SHA for 1a119b2 - Browse repository at this point
Copy the full SHA 1a119b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 575eb97 - Browse repository at this point
Copy the full SHA 575eb97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5297ad6 - Browse repository at this point
Copy the full SHA 5297ad6View commit details
Commits on Aug 5, 2020
-
platform stability clarification
clarify that platform-unstable types are addressed, but not their stability
Configuration menu - View commit details
-
Copy full SHA for f85600d - Browse repository at this point
Copy the full SHA f85600dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a47b885 - Browse repository at this point
Copy the full SHA a47b885View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc1963f - Browse repository at this point
Copy the full SHA bc1963fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed172fe - Browse repository at this point
Copy the full SHA ed172feView commit details -
clarify the purpose of "Dissecting Stability"
The section describes how user-facing complexity is turned into complexity the type system handles.
Configuration menu - View commit details
-
Copy full SHA for 15fd0e9 - Browse repository at this point
Copy the full SHA 15fd0e9View commit details -
Co-authored-by: Zach Lute <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4946585 - Browse repository at this point
Copy the full SHA 4946585View commit details
Commits on Aug 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 528df3a - Browse repository at this point
Copy the full SHA 528df3aView commit details
Commits on Aug 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 216232e - Browse repository at this point
Copy the full SHA 216232eView commit details -
For actually using slice casting to build other abstractions, it's useful to have a trait name to refer to in `where` bounds.
Configuration menu - View commit details
-
Copy full SHA for 70f2d9c - Browse repository at this point
Copy the full SHA 70f2d9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5424df4 - Browse repository at this point
Copy the full SHA 5424df4View commit details
Commits on Aug 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cc01609 - Browse repository at this point
Copy the full SHA cc01609View commit details
Commits on Aug 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4fe45b6 - Browse repository at this point
Copy the full SHA 4fe45b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b38d1df - Browse repository at this point
Copy the full SHA b38d1dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea04744 - Browse repository at this point
Copy the full SHA ea04744View commit details -
Pedantic changes that make the slice-casting extension closer to something shippable.
Configuration menu - View commit details
-
Copy full SHA for 0fb4863 - Browse repository at this point
Copy the full SHA 0fb4863View commit details
Commits on Aug 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b7fef2d - Browse repository at this point
Copy the full SHA b7fef2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41fa339 - Browse repository at this point
Copy the full SHA 41fa339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d3a3e3 - Browse repository at this point
Copy the full SHA 3d3a3e3View commit details
Commits on Aug 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b25348c - Browse repository at this point
Copy the full SHA b25348cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2baf68 - Browse repository at this point
Copy the full SHA b2baf68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 781cf1f - Browse repository at this point
Copy the full SHA 781cf1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a98df6e - Browse repository at this point
Copy the full SHA a98df6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df275e - Browse repository at this point
Copy the full SHA 1df275eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1362e9 - Browse repository at this point
Copy the full SHA a1362e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eadf01 - Browse repository at this point
Copy the full SHA 7eadf01View commit details -
Configuration menu - View commit details
-
Copy full SHA for d86731c - Browse repository at this point
Copy the full SHA d86731cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 618c8d5 - Browse repository at this point
Copy the full SHA 618c8d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98eb167 - Browse repository at this point
Copy the full SHA 98eb167View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f85008 - Browse repository at this point
Copy the full SHA 2f85008View commit details
Commits on Aug 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c4f5d60 - Browse repository at this point
Copy the full SHA c4f5d60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fb9949 - Browse repository at this point
Copy the full SHA 1fb9949View commit details
Commits on Aug 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 579a7a0 - Browse repository at this point
Copy the full SHA 579a7a0View commit details -
rust-lang#5 (comment) Co-authored-by: Florian Gilcher <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8295f5b - Browse repository at this point
Copy the full SHA 8295f5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eaa505 - Browse repository at this point
Copy the full SHA 2eaa505View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9081e53 - Browse repository at this point
Copy the full SHA 9081e53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 099896a - Browse repository at this point
Copy the full SHA 099896aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fe2146 - Browse repository at this point
Copy the full SHA 7fe2146View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed02a09 - Browse repository at this point
Copy the full SHA ed02a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0063c4 - Browse repository at this point
Copy the full SHA c0063c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 079324e - Browse repository at this point
Copy the full SHA 079324eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19e629e - Browse repository at this point
Copy the full SHA 19e629eView commit details
Commits on Aug 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aadfec7 - Browse repository at this point
Copy the full SHA aadfec7View commit details
Commits on Aug 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9ed6b6d - Browse repository at this point
Copy the full SHA 9ed6b6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93d8394 - Browse repository at this point
Copy the full SHA 93d8394View commit details -
Configuration menu - View commit details
-
Copy full SHA for b150c3f - Browse repository at this point
Copy the full SHA b150c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fe396e - Browse repository at this point
Copy the full SHA 9fe396eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61448fb - Browse repository at this point
Copy the full SHA 61448fbView commit details -
Move one of
Archetype
's bounds towhere
This improves the rendering of rustdoc, and leaves us free to remove that bound if need be without violating stability.
Configuration menu - View commit details
-
Copy full SHA for 3217d4a - Browse repository at this point
Copy the full SHA 3217d4aView commit details