Warning
This post was published 38 days ago. The information described in this article may have changed.
Hello
Today I decided to find some text in release binary file and was surprised that there are a lot of error messages in the release executable file.
I agree that it may be correct error messages, but why I do not get them during run
compilation or when I execute app. There is not any messages in the console where I compile app with cargo run
or cargo build ...
.
Messages look like this:
called `Result::unwrap()` on an `Err` value
Unable to write filestruct
failed to fill whole buffer
unsafe precondition(s) violated: invalid value for `char`
capacity overflowunsafe precondition(s) violated: ptr::sub_ptr requires `self >= origin`called `Result::unwrap()` on an `Err` valueTrustedLen iterator's size hint is not exact: TryFromSliceError
I would be happy to fix some of them - but how to see them during execution?
Thank you in advance
4 posts - 3 participants
🏷️ rust_feed