-
Notifications
You must be signed in to change notification settings - Fork 0
Removing compiler build and using rustup
#33
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
Need to fix tests, and pass flag to stop binary being built. `Makefile` needs to be stripped down too,
rustup
.rustup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested locally as well
Makefile
Outdated
build: | ||
cargo build ${RELEASE_FLAG} | ||
|
||
clean: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe keep build
, and update clean
to do the right thing?
generate_ui_tests: | ||
mkdir -p "${RUST_DIR}"/tests | ||
cd "${RUST_SRC}"; ./get_runpass.sh tests/ui > "${RUST_DIR}"/tests_ui_sources | ||
-cd "${RUST_SRC}"; ./ui_compiletest.sh "${RUST_SRC}" "${RUST_DIR}"/tests/ui/upstream "${RUST_DIR}"/tests_ui_sources --pass check --force-rerun 2>&1 > "${RUST_DIR}"/tests_ui_upstream.log | ||
-cd "${RUST_SRC}"; RUST_BIN="${PWD}"/run.sh ./ui_compiletest.sh "${RUST_SRC}" "${RUST_DIR}"/tests/ui/smir "${RUST_DIR}"/tests_ui_sources --pass check --force-rerun 2>&1 > "${RUST_DIR}"/tests_ui_smir.log | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...reminds me I wanted to still check what exactly this is doing - more test programs and maybe more failure modes that we haven't seen... but we can still replicate this later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is still accessible on our fork also could add an issue as a reminder there and backlog it
9c99f1b
to
008396b
Compare
Making mir-semantics compatible with PR where [smir-pretty uses rustup](runtimeverification/stable-mir-json#33) --------- Co-authored-by: devops <devops@runtimeverification.com>
Changing to use
rustup
for the Rust compiler now that we are not on our own fork.build.rs
so that correct rust version is used with components installedMakefile
needs to be removedMakefile
needs to change to usecargo
mir-semantics
(see this PR)Moved to future work:
cargo test
? Could removeMakefile
entirely thenstd lib