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
15.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
Validate constants during
const_eval_raw
- #74949
#74949
Merged
bors
merged 18 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:validate_const_eval_raw
oli-obk/rust:validate_const_eval_raw
Copy head branch name to clipboard
Sep 20, 2020
Conversation
Commits
18
(18)
Checks
Files changed
Merged
Validate constants during
const_eval_raw
#74949
bors
merged 18 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:validate_const_eval_raw
oli-obk/rust:validate_const_eval_raw
Copy head branch name to clipboard
Commits
Commits on Sep 19, 2020
Validate constants during `const_eval_raw`
oli-obk
committed
083f1d7
View commit details
Copy full SHA for 083f1d7
Browse repository at this point
Stop using the `const_eval` query for initializers of statics
Show description for 2d7ac72
oli-obk
committed
2d7ac72
View commit details
Copy full SHA for 2d7ac72
Browse repository at this point
Update codegen tests
oli-obk
committed
6d3c7bb
View commit details
Copy full SHA for 6d3c7bb
Browse repository at this point
Document `op_to_const`'s purpose
oli-obk
committed
4397d66
View commit details
Copy full SHA for 4397d66
Browse repository at this point
`turn_into_const` is infallible
oli-obk
committed
b1bd34d
View commit details
Copy full SHA for b1bd34d
Browse repository at this point
Replace `and_then` `map_err` `and_then` chain with a match
oli-obk
committed
48f366f
View commit details
Copy full SHA for 48f366f
Browse repository at this point
Clarify a statement in UB test
oli-obk
committed
a6c60bb
View commit details
Copy full SHA for a6c60bb
Browse repository at this point
Do not call the `const_eval` query in mir interpretation except for caching of nulary intrinsics
oli-obk
committed
dd9702a
View commit details
Copy full SHA for dd9702a
Browse repository at this point
We can make const eval sound, it's just super expensive
oli-obk
committed
40c2087
View commit details
Copy full SHA for 40c2087
Browse repository at this point
Rename const eval queries to reflect the validation changes
oli-obk
committed
69a6be7
View commit details
Copy full SHA for 69a6be7
Browse repository at this point
Unify the names of const eval queries and their return types
oli-obk
committed
888afd5
View commit details
Copy full SHA for 888afd5
Browse repository at this point
Fix rebase fallout and make the test work with debug info
oli-obk
committed
90708c1
View commit details
Copy full SHA for 90708c1
Browse repository at this point
Address review comments
oli-obk
committed
182ed85
View commit details
Copy full SHA for 182ed85
Browse repository at this point
Rustfmt
oli-obk
committed
c3c8c98
View commit details
Copy full SHA for c3c8c98
Browse repository at this point
Update compile-fail tests
oli-obk
committed
ef04e68
View commit details
Copy full SHA for ef04e68
Browse repository at this point
Update incremental tests
oli-obk
committed
c5889e4
View commit details
Copy full SHA for c5889e4
Browse repository at this point
Reflect the "do not call this query directly" mentality in its name
oli-obk
committed
b8e6883
View commit details
Copy full SHA for b8e6883
Browse repository at this point
Commits on Sep 20, 2020
Make codegen test bitwidth-independent
oli-obk
committed
34785fc
View commit details
Copy full SHA for 34785fc
Browse repository at this point
You can’t perform that action at this time.