Skip to content

Add check for 'file' command which is necessary for 32-bit userspace detection. #5837

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

tdaede
Copy link
Contributor

@tdaede tdaede commented Apr 11, 2013

Without 'file' it assumes a 32 bit userspace even with a 64 bit kernel, which is incorrect in most cases.

@catamorphism
Copy link
Contributor

I'm not sure if it matters anymore with our new build automation, can you re-submit this with incoming as the target branch? Thanks!

bors added a commit that referenced this pull request Apr 12, 2013
Without 'file' it assumes a 32 bit userspace even with a 64 bit kernel, which is incorrect in most cases.
@catamorphism
Copy link
Contributor

Actually, don't bother doing that; I think the build automation bot will do the right thing. Thanks!

@bors bors closed this Apr 12, 2013
flip1995 added a commit to flip1995/rust that referenced this pull request Aug 11, 2020
needless_collect: catch x: Vec<_> = iter.collect(); x.into_iter() ...

changelog: Expand the needless_collect lint as suggested in rust-lang#5627 (WIP).

This PR is WIP because I can't figure out how to make the multi-part suggestion include its changes in the source code (the fixed is identical to the source, despite the lint making suggestions). Aside from that one issue, I think this should be good.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#5837 (needless_collect: catch x: Vec<_> = iter.collect(); x.into_iter() ...)
 - rust-lang#5846 (Handle mapping to Option in `map_flatten` lint)
 - rust-lang#5848 (Add derive_ord_xor_partial_ord lint)
 - rust-lang#5852 (Add lint for duplicate methods of trait bounds)
 - rust-lang#5856 (Remove old Symbol reexport)

Failed merges:

r? @ghost

changelog: rollup
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants