-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Make io::with_str_writer pure #3758
Comments
And with this, we should also make these similar functions pure:
|
This was referenced Oct 16, 2012
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Aug 5, 2024
Add `miri_start` support This PR uses a function with the exported symbol `miri_start` as a drop-in alternative to `#[start]`. So the signature stays the same as suggested in [this comment](rust-lang/miri#3498 (comment)). <del>I’ve also removed Miri’s restriction to only work on bin crates as I don’t think this is necessary anymore.</del> Closes rust-lang#3758
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If
io::with_str_writer
was pure, it could then be used safely withto_str::ToStr
.The text was updated successfully, but these errors were encountered: