Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
17.2k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
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.