rustlings
rustlings copied to clipboard
[Run] Show prompt output in run command for test and compile examples
rustlings run test|compile_example
should output prompt to remove I AM NOT DONE
comment in head of example file, to help users how to proceed to next example.
Unsure the historical reason behind why the run
command for compile_example just prints success message and for test_example exits silently. I think we can make its default output similar to watch
command.
I saw --nocapture
flag to get similar behavior described in this issue, but we can clean that flag and make it a default.
I can reopen earlier PR #1217 if this suggestion make sense.
I agree, but this should probably only apply when ran with rustlings run next
, as the original purpose of rustlings run
is to test solutions out-of-band for a specific exercise. rustlings run next
is a fairly recent addition. Would be happy to review a PR for this!
Should be resolved by the new handling in v6