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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
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
15.4k
Star
116k
Code
Issues
5k+
Pull requests
1.3k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Allow the global allocator to use thread-local storage and std::thread::current()
- #144465
#144465
Merged
bors
merged 12 commits into
rust-lang:main
rust-lang/rust:main
from
orlp:system-alloc-tls
orlp/rust:system-alloc-tls
Copy head branch name to clipboard
Nov 29, 2025
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Allow the global allocator to use thread-local storage and std::thread::current()
#144465
bors
merged 12 commits into
rust-lang:main
rust-lang/rust:main
from
orlp:system-alloc-tls
orlp/rust:system-alloc-tls
Copy head branch name to clipboard
Commits
Commits on Nov 27, 2025
Use System allocator for thread-local storage
orlp
committed
750609c
View commit details
Copy full SHA for 750609c
Browse repository at this point
Use spinlock for ThreadId if 64-bit atomic unavailable
orlp
committed
8481b82
View commit details
Copy full SHA for 8481b82
Browse repository at this point
Add documentation guaranteeing global allocator use of TLS
Show description for f9b0811
orlp
and
Mark-Simulacrum
committed
f9b0811
View commit details
Copy full SHA for f9b0811
Browse repository at this point
Ensure set_current is called early during thread init
orlp
committed
58830de
View commit details
Copy full SHA for 58830de
Browse repository at this point
Address review comments
orlp
committed
0b7cdf2
View commit details
Copy full SHA for 0b7cdf2
Browse repository at this point
Use checked_add instead of manual overflow check
orlp
committed
85a4907
View commit details
Copy full SHA for 85a4907
Browse repository at this point
Fix SGX implementation
orlp
committed
b717684
View commit details
Copy full SHA for b717684
Browse repository at this point
Add inline(never) to prevent reordering after TLS has been destroyed
orlp
committed
9b5bb75
View commit details
Copy full SHA for 9b5bb75
Browse repository at this point
Expand test with allocating from thread-local destructors
orlp
committed
ff8ed14
View commit details
Copy full SHA for ff8ed14
Browse repository at this point
Silence dead code warning for ThreadInit::init
orlp
committed
4ecf505
View commit details
Copy full SHA for 4ecf505
Browse repository at this point
Commits on Nov 28, 2025
Add missing feature flag
orlp
committed
48fc0fd
View commit details
Copy full SHA for 48fc0fd
Browse repository at this point
Update debuginfo test from Global to System
orlp
committed
492fbc5
View commit details
Copy full SHA for 492fbc5
Browse repository at this point
You can’t perform that action at this time.