crux-mir
: Automate generation of translate_libs.sh
script
#1152
Labels
crux-mir
: Automate generation of translate_libs.sh
script
#1152
Currently,
crux-mir
'stranslate_libs.sh
script is written by hand. This makes it tedious to maintain, especially when newrustc
toolchains alter the dependencies used in the Rust standard libraries. We should include a program that generates thetranslate_libs.sh
script in a more declarative way. @m10f started work on this with this program:Where it is intended to be used with
gen_build_sh.py buildscript < log_from_building_an_empty_project
, where "log_from_building_an_empty_project
" is the result of running something likecargo build -Z build-std --verbose
.The script also includes a
copy
mode that can be used to copy the source code for the Rust standard libraries into a central location. This could be used to automate the process of updatingcrux-mir/lib
to a newrustc
toolchain.The text was updated successfully, but these errors were encountered: