Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
rust
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
1.4k
(1.4k)
Actions
Projects
Security and quality
6
(6)
Insights
More
items
Implement RFC 2580: Pointer metadata & VTable
- #81172
#81172
Merged
bors
merged 12 commits into
rust-lang:master
rust-lang/rust:master
from
SimonSapin:ptr-metadata
SimonSapin/rust:ptr-metadata
Copy head branch name to clipboard
Feb 18, 2021
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Implement RFC 2580: Pointer metadata & VTable
#81172
bors
merged 12 commits into
rust-lang:master
rust-lang/rust:master
from
SimonSapin:ptr-metadata
SimonSapin/rust:ptr-metadata
Copy head branch name to clipboard
Commits
Commits on Feb 15, 2021
Add `ptr::Pointee` trait (for all types) and `ptr::metadata` function
Show description for 696b239
SimonSapin
committed
696b239
View commit details
Copy full SHA for 696b239
Browse repository at this point
Parameterize `DynMetadata` over its `dyn SomeTrait` type
SimonSapin
committed
b1e15fa
View commit details
Copy full SHA for b1e15fa
Browse repository at this point
Add `size_of`, `align_of`, and `layout` methods to `DynMetadata`
SimonSapin
committed
9ab83b9
View commit details
Copy full SHA for 9ab83b9
Browse repository at this point
Add `ptr::from_raw_parts`, `ptr::from_raw_parts_mut`, and `NonNull::from_raw_parts`
Show description for 937d580
SimonSapin
committed
937d580
View commit details
Copy full SHA for 937d580
Browse repository at this point
Add `to_raw_parts` methods to `*const`, `*mut`, and `NonNull`
Show description for c0e3a1b
SimonSapin
committed
c0e3a1b
View commit details
Copy full SHA for c0e3a1b
Browse repository at this point
Use new pointer metadata API inside libcore instead of manual transmutes
SimonSapin
committed
787f4de
View commit details
Copy full SHA for 787f4de
Browse repository at this point
More doc-comments for pointer metadata APIs
SimonSapin
committed
3ea7f15
View commit details
Copy full SHA for 3ea7f15
Browse repository at this point
Fix libcore unit tests in stage 0
SimonSapin
committed
642486c
View commit details
Copy full SHA for 642486c
Browse repository at this point
Fix intra-doc link to raw pointer method
Show description for 21ceebf
SimonSapin
committed
21ceebf
View commit details
Copy full SHA for 21ceebf
Browse repository at this point
Add a ThinBox library as a libcore test for pointer metadata APIs
SimonSapin
committed
5ade3fe
View commit details
Copy full SHA for 5ade3fe
Browse repository at this point
Pointer metadata: add tracking issue number
SimonSapin
committed
cf000f0
View commit details
Copy full SHA for cf000f0
Browse repository at this point
Use local path for already-imported function
Show description for cac71bf
SimonSapin
and
oli-obk
committed
cac71bf
View commit details
Copy full SHA for cac71bf
Browse repository at this point
You can’t perform that action at this time.