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
16.9k
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
Experimentally add
ffi_const
and
ffi_pure
extern fn attributes
- #58327
#58327
Closed
gnzlbg
wants to merge 11 commits into
rust-lang:master
rust-lang/rust:master
from
gnzlbg:ffi_const_pure
gnzlbg/rust:ffi_const_pure
Copy head branch name to clipboard
Conversation
Commits
11
(11)
Checks
Files changed
Closed
Experimentally add
ffi_const
and
ffi_pure
extern fn attributes
#58327
gnzlbg
wants to merge 11 commits into
rust-lang:master
rust-lang/rust:master
from
gnzlbg:ffi_const_pure
gnzlbg/rust:ffi_const_pure
Copy head branch name to clipboard
Commits
Commits on Feb 9, 2019
Add ffi_const and ffi_pure extern fn attributes
gnzlbg
committed
d8344ff
View commit details
Copy full SHA for d8344ff
Browse repository at this point
Use the term foreign function in errors
gnzlbg
committed
bf149c0
View commit details
Copy full SHA for bf149c0
Browse repository at this point
Commits on Feb 10, 2019
Use pattern to match attributes
gnzlbg
committed
945cbe4
View commit details
Copy full SHA for 945cbe4
Browse repository at this point
Fix attribute check
gnzlbg
committed
736c437
View commit details
Copy full SHA for 736c437
Browse repository at this point
Fix tidy
gnzlbg
committed
3adeddd
View commit details
Copy full SHA for 3adeddd
Browse repository at this point
Commits on Feb 11, 2019
Update doc of `ffi_const`
Show description for effaf14
Centril
and
gnzlbg
authored
effaf14
View commit details
Copy full SHA for effaf14
Browse repository at this point
Commits on Feb 12, 2019
Document in unstable book; check that const functions are not pure, rename to c_ffi_...
gnzlbg
committed
26eb8b0
View commit details
Copy full SHA for 26eb8b0
Browse repository at this point
Fix tests
gnzlbg
committed
c11a27f
View commit details
Copy full SHA for c11a27f
Browse repository at this point
Tidy book
gnzlbg
committed
d663711
View commit details
Copy full SHA for d663711
Browse repository at this point
Fix typos
gnzlbg
committed
a3d0f3c
View commit details
Copy full SHA for a3d0f3c
Browse repository at this point
Commits on Feb 13, 2019
Do not emit incorrect IR on error
gnzlbg
committed
3770725
View commit details
Copy full SHA for 3770725
Browse repository at this point
You can’t perform that action at this time.