-
Notifications
You must be signed in to change notification settings - Fork 21
Cannot complete Rust Book Ch. 2 exercises in Rustic #88
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
Comments
This is a part of the code that I have never looked into before. I was able to get it to work using |
If you want the comint functionality, you would have to use I haven't been using these functions recently since I don't interact much with interactive programs. But the last time I used them - it seemed to be working. |
I can confirm I hadn't seen FWIW, this may be an opportunity to improve the runtime documentation. Yes, this one might just be wrong, since
And this one could probably benefit from the addition of some language from
From a "user support" point of view.. this matter is completely resolved for me. From a "improve rustic" point of view.. I'm willing to create a PR with updated docstrings, but I'm also willing to stay out of the way. Y'all tell me what is preferred. :) And thanks again. |
Nah, the documentation is wrong.
Yes, agree. I think I implemented one of these functions and documented the README.md, but didn't update the docstrings.
Yes, that will be helpful. Thanks! |
Hello.
Chapter 2 of the Rust book invites the reader to code a guessing game that takes input on stdin. This works fine in a terminal.
In Rustic, you'd want to set the variable
rustic-cargo-run-use-comint
tot
before invokingC-c C-c C-r
(rustic-cargo-run
).But, that doesn't cause the code in
rustic-comint.el
to fire. I still get the regular rustic-cargo-run functionality.I do have polymode installed.
Here are some particulars.
GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05
Package rustic:
Version: 20250220.14
Commit: fbbf0a7
I'm happy to provide more details or troubleshooting, just tell me how.
The text was updated successfully, but these errors were encountered: