-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View a specific exercise's stdout #262
Comments
Hi @samaaron! I think you can get the results of a single exercise (complete with the stdout) using So, for me, $: rustlings run variables3
Number 3
Number 5
✅ Successfully ran exercises/variables/variables3.rs I don't know if there's a way to get stdout with |
I am also unable to get the output on What can I do that might help diagnose this issue? |
To add to my previous comment, I tried running different programs that actually have a main function, and most of them work. Here are the ones that didn't: |
Hi @fspy, just because a program file has a But you're probably still wondering why then the One solution to your problem may be to add a global flag/option to Please, everyone, feel free to chime in and let me know what you think. Thank you! Abdou |
This new feature can be accessed by invoking rustlings with --nocapture. Both unit and integration tests added. closes rust-lang#262 BREAKING CHANGES: The following function take a new boolean argument: * `run` * `verify` * `test` * `compile_and_test`
This new feature can be accessed by invoking rustlings with --nocapture. Both unit and integration tests added. closes rust-lang#262 BREAKING CHANGES: The following function take a new boolean argument: * `run` * `verify` * `test` * `compile_and_test`
This new feature can be accessed by invoking rustlings with --nocapture. Both unit and integration tests added. closes rust-lang#262 BREAKING CHANGES: The following function take a new boolean argument: * `run` * `verify` * `test` * `compile_and_test`
This new feature can be accessed by invoking rustlings with --nocapture. Both unit and integration tests added. closes rust-lang#262 BREAKING CHANGES: The following function take a new boolean argument: * `run` * `verify` * `test` * `compile_and_test`
This new feature can be accessed by invoking rustlings with --nocapture. Both unit and integration tests added. closes rust-lang#262 BREAKING CHANGES: The following function take a new boolean argument: * `run` * `verify` * `test` * `compile_and_test`
thanks @AbdouSeck, now I can see my logs using |
Hi there,
I'm working through rustlings on a Windows machine. It's a wonderful resource - thank-you so much for putting the effort into making it.
One thing I have yet to figure out is how to view the output of the current exercise. Currently I just see if an exercise compiles (and the compile errors if not). However, if an exercise uses
println!
it would be lovely to be able to see that output somewhere.Am I doing something wrong or is this something that's yet to be implemented?
The text was updated successfully, but these errors were encountered: