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
Developer articles
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
Prototype: Add unstable
-Z reference-niches
option
- #113166
#113166
Merged
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
moulins:ref-niches-initial
moulins/rust:ref-niches-initial
Copy head branch name to clipboard
Jul 21, 2023
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Prototype: Add unstable
-Z reference-niches
option
#113166
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
moulins:ref-niches-initial
moulins/rust:ref-niches-initial
Copy head branch name to clipboard
Commits
Commits on Jul 21, 2023
add `naive_layout_of` query
moulins
committed
cb8b1d1
View commit details
Copy full SHA for cb8b1d1
Browse repository at this point
properly handle arrays and wide pointers in `naive_layout_of`
moulins
committed
30ae640
View commit details
Copy full SHA for 30ae640
Browse repository at this point
add crate-local `-Z reference_niches` unstable flag (does nothing for now)
moulins
committed
8b847ef
View commit details
Copy full SHA for 8b847ef
Browse repository at this point
restrict the valid range of references if `-Z reference-niches` is set
Show description for 3c05276
moulins
committed
3c05276
View commit details
Copy full SHA for 3c05276
Browse repository at this point
support non-null pointer niches in CTFE
moulins
committed
76c49ae
View commit details
Copy full SHA for 76c49ae
Browse repository at this point
recover null-ptr optimization by adding a special case to the niching logic
moulins
committed
4fb039e
View commit details
Copy full SHA for 4fb039e
Browse repository at this point
Don't treat ref. fields with non-null niches as `dereferenceable_or_null`
moulins
committed
403f34b
View commit details
Copy full SHA for 403f34b
Browse repository at this point
Track exactness in `NaiveLayout` and use it for `SizeSkeleton` checks
moulins
committed
c30fbb9
View commit details
Copy full SHA for c30fbb9
Browse repository at this point
Track ABI info. in `NaiveLayout`, and use it for `PointerLike` checks
Show description for feb20f2
moulins
committed
feb20f2
View commit details
Copy full SHA for feb20f2
Browse repository at this point
Add doc-comments for `NaiveLayout`
moulins
committed
8e28729
View commit details
Copy full SHA for 8e28729
Browse repository at this point
Move `naive_layout_of` query provider in separate sibling module
moulins
committed
bf2f8ff
View commit details
Copy full SHA for bf2f8ff
Browse repository at this point
CTFE: move `target_{i, u}size_{min, max)` to `rustc_abi::TargetDataLayout`
moulins
committed
39cfe70
View commit details
Copy full SHA for 39cfe70
Browse repository at this point
Track (partial) niche information in `NaiveLayout`
Show description for 7f10908
moulins
committed
7f10908
View commit details
Copy full SHA for 7f10908
Browse repository at this point
You can’t perform that action at this time.