-
Notifications
You must be signed in to change notification settings - Fork 4
Migrate modified Rust standard libraries from crucible to mir-json
#85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
181402b to
3f91f8c
Compare
These have been moved to `mir-json` as part of GaloisInc/mir-json#85. Towards #1252
…gration Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85), this patch adjusts the various references to the standard libraries to ensure that `crux-mir`'s documentation and CI remain up to date. Towards #1252
|
I'm a little skeptical about this move - I think the patches to the libraries are more closely tied to what crucible-mir can handle than to anything in mir-json. When trying to get a new library feature working in crux-mir, IIRC it was common to do some parts as library patches and some parts as new crucible-mir intrinsics/overrides, but it was very rare to need to change mir-json. |
|
Per GaloisInc/crucible#1252 (comment), I'm not a fan of housing the libraries under While I could be convinced to house the files somewhere besides |
These have been moved to `mir-json` as part of GaloisInc/mir-json#85. Towards #1252
…rd library migration Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85), this patch adjusts the various references to the standard libraries to ensure that `crux-mir`'s documentation, CI, and test suite remain up to date. Towards #1252
…rd library migration Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85), this patch adjusts the various references to the standard libraries to ensure that `crux-mir`'s documentation, CI, and test suite remain up to date. Towards #1252
Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85 and GaloisInc/crucible#1319), this patch adjusts the various references to the standard libraries to ensure that SAW's documentation, CI, and test suite remain up to date.
Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85 and GaloisInc/crucible#1319), this patch adjusts the various references to the standard libraries to ensure that SAW's documentation, CI, and test suite remain up to date.
|
I spoke to @spernsteiner offline about this, and we came to an agreement to proceed with the plan in this PR. There are tradeoffs regardless of which repo we house these standard libraries in (for instance, housing them in |
…rd library migration Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85), this patch adjusts the various references to the standard libraries to ensure that `crux-mir`'s documentation, CI, and test suite remain up to date. Towards #1252
These have been moved to `mir-json` as part of GaloisInc/mir-json#85. Towards #1252
…rd library migration Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85), this patch adjusts the various references to the standard libraries to ensure that `crux-mir`'s documentation, CI, and test suite remain up to date. Towards #1252
Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85 and GaloisInc/crucible#1319), this patch adjusts the various references to the standard libraries to ensure that SAW's documentation, CI, and test suite remain up to date.
We don't currently specify what happens if both `CRUX_RUST_LIBRARY_PATH` and `SAW_RUST_LIBRARY_PATH` are defined but set to different values (in reality, `CRUX_RUST_LIBRARY_PATH` always takes precedence), but people might think that they can use different paths for Crux and SAW. So maybe we should just say "one of".
These have been moved to `mir-json` as part of GaloisInc/mir-json#85. Towards #1252
…rd library migration Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85), this patch adjusts the various references to the standard libraries to ensure that `crux-mir`'s documentation, CI, and test suite remain up to date. Towards #1252
Now that the `mir-json`-specific versions of the Rust standard libraries have been moved to the `mir-json` repo (in GaloisInc/mir-json#85 and GaloisInc/crucible#1319), this patch adjusts the various references to the standard libraries to ensure that SAW's documentation, CI, and test suite remain up to date.
This merges the commit history of
crucible'scrux-mir/libdirectory (which contains the modified versions of the Rust standard libraries thatmir-jsonuses) andcrux-mir/translate_libs.shscript (which compiles the standard libraries usingmir-json) into themir-jsonrepo. I have rewritten the commit history to locate these atlibs/andtranslate_libs.sh, respectively. I performed this commit rewrite using the followinggit-filter-repoinvocation:Only the two last commits in this PR updates are of real interest to reviewers (all other commits are churn induced by moving files from
crucibleover to this repo.):mir-jsondocumentation to describelibs/andtranslate_libs.sh.translate_libs.shand package up the results in the uploaded artifacts.This is one half of a fix for GaloisInc/crucible#1252.