-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Optionally disable console by feature #5691
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Did this patch solved your problem?
One change request. Rust features are expected to be additive. In other words, feature stdio
is better than disable-stdio
.
Oh, thx. You are completely right! The docs actually mention this special case Always good to learn something new :) |
Tbh - I think |
I guess I will try to resolve the conflict in #5420 and check if it solves my issue.
|
So - I tried to implement #5420 but it somehow didn't solve my issue. I still got these errors locally during initialization. So - this is would currently be my approach of this issue. |
Works for me. |
Sorry for the delay and for the mess that this is in general - I just merged #5420; does that approach work for your problem? |
Going to fix
#5690
Optionally disable stdin, stdout and stderr for example for windows GUI apps, where there is no console and where the previous code panicked.