-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
rustlings run
does not work with clippy exercises
#291
Comments
@jrvidal I'd like to take fixing this up. It'd be a learning experience for me. |
alphamodel
pushed a commit
to wanglongqi/rustlings-solutions
that referenced
this issue
Apr 27, 2020
Additionally to running clippy, also compile the exercise file so that `rustling run clippy1` works after a successful completion of the exercise. closes rust-lang#291 Signed-off-by: Rohan Jain <crodjer@gmail.com>
MendelMonteiro
pushed a commit
to MendelMonteiro/rustlings
that referenced
this issue
Jun 28, 2020
Additionally to running clippy, also compile the exercise file so that `rustling run clippy1` works after a successful completion of the exercise. closes rust-lang#291 Signed-off-by: Rohan Jain <crodjer@gmail.com>
ppp3
pushed a commit
to ppp3/rustlings
that referenced
this issue
May 23, 2022
Additionally to running clippy, also compile the exercise file so that `rustling run clippy1` works after a successful completion of the exercise. closes rust-lang#291 Signed-off-by: Rohan Jain <crodjer@gmail.com>
dmoore04
pushed a commit
to dmoore04/rustlings
that referenced
this issue
Sep 11, 2022
Additionally to running clippy, also compile the exercise file so that `rustling run clippy1` works after a successful completion of the exercise. closes rust-lang#291 Signed-off-by: Rohan Jain <crodjer@gmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
The issue is in
exercise::Exercise::compile
, where we assume that the executable is intemp_file()
, but the clippy compilation does not actually build there.The text was updated successfully, but these errors were encountered: