[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42295] [PATCH] gnu: rust-1.44: Add rustfmt output.
From: |
John Soo |
Subject: |
[bug#42295] [PATCH] gnu: rust-1.44: Add rustfmt output. |
Date: |
Wed, 25 Nov 2020 06:46:42 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi Matthew,
Thanks! I had packaged rustfmt-nightly but this is much better.
Matthew Kraai <kraai@ftbfs.org> writes:
> + (replace 'check
> + (lambda* _
> + ;; Enable parallel execution.
> + (let ((parallel-job-spec
> + (string-append "-j" (number->string
> + (min 4
> + (parallel-job-count))))))
> + (invoke "./x.py" parallel-job-spec "test" "-vv")
> + (invoke "./x.py" parallel-job-spec "test"
> + "src/tools/cargo")
> + (invoke "./x.py" parallel-job-spec "test"
> + "src/tools/rustfmt"))))
Nice!
> + (outputs '("out" "doc" "cargo" "rustfmt"))
Perhaps we should make anything that can be installed as a rustup
component an output (provided the source is in the rust tree). I think
rls can be added immediately in the same fashion.
Do you want to add a copyright line?
Otherwise, this looks good to me.
Best regards,
John
- [bug#42295] [PATCH] gnu: rust-1.44: Add rustfmt output.,
John Soo <=