-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Bad documentation for --emit-llvm and --save-temps compiler flags #3945
Labels
Milestone
Comments
Not critical for 0.6, de-milestoning. |
Nominating for well covered. |
accepted for production-ready milestone |
cc #7791 |
probably subsumed by #7791. But tagging 1.0 to ensure it gets fixed one way or another. P-high. |
I believe this has been closed in the above bug/PR:
Can anybody close it? |
Indeed, closed by 6e7968b (we even have dox in the manpage!) |
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Oct 15, 2024
avoid pthread_attr_t in tests We don't support `pthread_attr_init` so the code here is actually technically wrong (passing attributes to `pthread_create` that were not initialized properly). It's also unnecessary, we can just pass a null pointer for the attributes to indicate "default attributes please".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today I learned:
--emit-llvm
silently does nothing if you're compiling to an executable, and requires that you provide a-o
filename that ends in.bc
. Perhaps there should be errors instead.--save-temps
and--emit-llvm
only do anything if they come before the crate file name.These things should probably be documented. I'm not sure where such documentation belongs (seems a bit verbose for the command-line usage notes).
The text was updated successfully, but these errors were encountered: