crux-mir-comp
: Support nightly-2023-01-23
#1891
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch bumps the
crucible
submodule to bring in the changes from GaloisInc/crucible#1096 and updates the code incrucible-mir-comp
andcrux-mir-comp
accordingly. Some highlights:crux-mir-comp
test cases now usecrux::test
instead ofcrux_test
.crux-mir-comp
test cases now scrub out the values of crate hash disambiguators to make their output more stable.crux-mir-comp
no longer depend on the specific disambiguator values being used, which makes them work with the sometimes unpredictable hash values used for crate disambiguators.tyToShape
case forTyStr
to handle new kinds of static values that arise in the new Rust nightly (mostly coming from constant values in thefmt
crate). The code for this case is nearly identical to that in theTySlice
case.TyFnPtr
in the new Rust nightly (mostly coming from constant values in thefmt
crate), so in order to handle them inclobberGlobals
, I needed to add aFnPtrShape
data constructor toTypeShape
. This is mostly a quick hack, since I implemented all other functionality forFnPtrShape
with calls toerror
. Nevertheless, that is enough to make all of the tests pass. We can always fill out the calls toerror
later if need be.