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.4k
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
always back
ty::Const
by an
Allocation
- #58486
#58486
Closed
oli-obk
wants to merge 23 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:import_miri_from_future
oli-obk/rust:import_miri_from_future
Copy head branch name to clipboard
Conversation
Commits
23
(23)
Checks
Files changed
Closed
always back
ty::Const
by an
Allocation
#58486
oli-obk
wants to merge 23 commits into
rust-lang:master
rust-lang/rust:master
from
oli-obk:import_miri_from_future
oli-obk/rust:import_miri_from_future
Copy head branch name to clipboard
Commits
Commits on Feb 14, 2019
Setup `ty::Const` to allow `ConstValue::Scalar` to be backed by an allocation
oli-obk
committed
7c966de
View commit details
Copy full SHA for 7c966de
Browse repository at this point
Fiddle the corresponding allocation through all `RawConst` uses
oli-obk
committed
a5a5ef1
View commit details
Copy full SHA for a5a5ef1
Browse repository at this point
Make const eval not use the hacky `op_to_const` function
oli-obk
committed
f5fb34c
View commit details
Copy full SHA for f5fb34c
Browse repository at this point
Commits on Feb 15, 2019
Fix equality check for constants
oli-obk
committed
db168bc
View commit details
Copy full SHA for db168bc
Browse repository at this point
Promoteds always have a backing allocation
oli-obk
committed
9a63fc8
View commit details
Copy full SHA for 9a63fc8
Browse repository at this point
Fixup: statics are always backed by an allocation
oli-obk
committed
78c36b9
View commit details
Copy full SHA for 78c36b9
Browse repository at this point
Update comment and make it truer by actually doing what it says
oli-obk
committed
785302d
View commit details
Copy full SHA for 785302d
Browse repository at this point
Explain the `val` caching in `ty::Const`
oli-obk
committed
8b0dd6d
View commit details
Copy full SHA for 8b0dd6d
Browse repository at this point
Remove a now-dead function argument
oli-obk
committed
6906379
View commit details
Copy full SHA for 6906379
Browse repository at this point
Mark a function private that is unused anywhere else
oli-obk
committed
1b93eda
View commit details
Copy full SHA for 1b93eda
Browse repository at this point
Fold an if on a match returning a bool directly into the match
oli-obk
committed
b3731ee
View commit details
Copy full SHA for b3731ee
Browse repository at this point
Synchronize StableHash with the updated PartialEq impl
oli-obk
committed
b0857a7
View commit details
Copy full SHA for b0857a7
Browse repository at this point
Don't create an intermediate place when reading discriminants
oli-obk
committed
1495b6b
View commit details
Copy full SHA for 1495b6b
Browse repository at this point
Note to self
oli-obk
committed
92e4471
View commit details
Copy full SHA for 92e4471
Browse repository at this point
Insert satisfying `op_to_const` bbqing sound here.
oli-obk
committed
0075868
View commit details
Copy full SHA for 0075868
Browse repository at this point
Make validity checking use `MPlaceTy` instead of `OpTy`
oli-obk
committed
a13cfdb
View commit details
Copy full SHA for a13cfdb
Browse repository at this point
Eliminate another use of `lazy_const_to_op`
oli-obk
committed
981a79e
View commit details
Copy full SHA for 981a79e
Browse repository at this point
Simplify `raw_const_to_mplace`
oli-obk
committed
c07162c
View commit details
Copy full SHA for c07162c
Browse repository at this point
Update a comment
oli-obk
committed
defa8d5
View commit details
Copy full SHA for defa8d5
Browse repository at this point
Another bad function bites the dust
oli-obk
committed
b653dc2
View commit details
Copy full SHA for b653dc2
Browse repository at this point
Update an outdated comment
oli-obk
committed
d3d145e
View commit details
Copy full SHA for d3d145e
Browse repository at this point
Keep MPlaceTy internals private
oli-obk
committed
1f718b0
View commit details
Copy full SHA for 1f718b0
Browse repository at this point
Don't access the stack if not strictly necessary
oli-obk
committed
5ef183d
View commit details
Copy full SHA for 5ef183d
Browse repository at this point
You can’t perform that action at this time.