Skip to content
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

Updated project to use cargo without building rustc #439

Merged
merged 18 commits into from
Jan 31, 2025

Conversation

dkcumming
Copy link
Collaborator

@dkcumming dkcumming commented Jan 30, 2025

Making mir-semantics compatible with PR where smir-pretty uses rustup

Still requires merge of `smir-pretty` to use `rustup`
@dkcumming dkcumming self-assigned this Jan 30, 2025
dkcumming added a commit to runtimeverification/stable-mir-json that referenced this pull request Jan 30, 2025
Changing to use `rustup` for the Rust compiler now that we are not on
our own fork.

- [x] Need `build.rs` so that correct rust version is used with
components installed
- [x] Need to update README.md
- [x] Building with `Makefile` needs to be removed
- [x] Handling tests with `Makefile` needs to change to use `cargo`
- [x] CI needs to be updated succesfully
- [x] Need to handle golden tests difference
- [x] Need to make sure this will still work with `mir-semantics` ([see
this PR](runtimeverification/mir-semantics#439))

Moved to future work:
- [ ] Change tests to use `cargo test` ? Could remove `Makefile`
entirely then
- [ ] Need to make sure this will still work with extracting
stable-mir-json for cargo projects / `std lib`
@dkcumming dkcumming changed the title Updated Makefile to use cargo Updated project to use cargo without building rustc Jan 30, 2025
@dkcumming dkcumming force-pushed the dc/use-rustup-and-cargo branch from eef947e to 03766ee Compare January 30, 2025 07:09
@dkcumming dkcumming marked this pull request as ready for review January 30, 2025 07:17
@dkcumming dkcumming force-pushed the dc/use-rustup-and-cargo branch from 342d161 to 5da300f Compare January 30, 2025 07:26
@dkcumming dkcumming force-pushed the dc/use-rustup-and-cargo branch from 5da300f to 0b3583d Compare January 30, 2025 07:29
@jberthold jberthold self-requested a review January 31, 2025 04:31
Copy link
Member

@jberthold jberthold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔧
Saying hello to short CI builds!!! 🎉

@dkcumming
Copy link
Collaborator Author

Thank you for the help with the CI stuff @jberthold

@dkcumming dkcumming merged commit 9e4a5e5 into master Jan 31, 2025
5 checks passed
@dkcumming dkcumming deleted the dc/use-rustup-and-cargo branch January 31, 2025 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants