-
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
libcompiler_builtins: Don't build emutls.c #38877
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
I double-checked that It correctly builds without |
I have no idea what this is about. =) |
@jdub in theory we never actually even use this file and we should actually stop compiling it. Did you find this necessary to fix something though? |
Yeah, it fails to build on my non-Redox, non-Windows target because it's a bare metal target without POSIX/pthreads. 😄 If |
Yeah let's just update this to avoid compiling it entirely |
Rather than improving the check, let's ditch emutls.c entirely.
You may want to edit the first comment which is included as a commit message by bors, since it is now incorrect and probably will confuse future readers of git log. |
@sanxiyn Thanks -- done. |
@bors r+ rollup |
📌 Commit 9f92d4f has been approved by |
libcompiler_builtins: Don't build emutls.c Rather than improving the check, let's ditch emutls.c entirely.
Rather than improving the check, let's ditch emutls.c entirely. rust-lang/rust#38877
Rather than improving the check, let's ditch emutls.c entirely.