Hi there, kiasoc5--- via Guix-patches via writes: > Is it safe to update mrustc at the same time as the rust version bump? So we can > bootstrap from rust 1.54 to 1.59. Sorry, I don't have the time and hardware to > help out more. Updating mrustc would be great, as an added bonus, the latest version enables aarch64-linux support. I just submitted a patch for it [0], it would be great to pick it up when next updating rust. [0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54580 I did also play with boostrapping directly from 1.54, instead of just updating mrustc, but it's not building for me yet. I'm attaching my WIP patch in case somebody wants to take a look. Specifically, it's failing during the cargo build phase, so when testing it I recommend to run the cargo build first to reproduce the issue. I can post a log later, I don't seem to find it just now :-). --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 38ead406d0..21a6fe206f 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -305,12 +305,12 @@ (define rust-1.54 (chdir "../mrustc") (setenv "MINICARGO_FLAGS" job-spec) (setenv "CARGO_BUILD_JOBS" (number->string job-count)) - (display "Building rustc...\n") - (apply invoke "make" "-f" "minicargo.mk" "output/rustc" - job-spec make-flags) (display "Building cargo...\n") (apply invoke "make" "-f" "minicargo.mk" "output/cargo" job-spec make-flags) + (display "Building rustc...\n") + (apply invoke "make" "-f" "minicargo.mk" "output/rustc" + job-spec make-flags) (display "Rebuilding stdlib with rustc...\n") ;; Note: invoking make with -j would cause a compiler error ;; (unexpected panic). --8<---------------cut here---------------end--------------->8--- Thanks, Pierre