Skip to content
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

Feature/libc mman #7257

Merged
merged 3 commits into from
Jun 25, 2013
Merged

Feature/libc mman #7257

merged 3 commits into from
Jun 25, 2013

Conversation

indutny
Copy link
Contributor

@indutny indutny commented Jun 20, 2013

Add functions and constants required to be able to use mmap and friends.

@emberian
Copy link
Member

@indutny this is good, just needs a find-and-replace of int with c_int. It would probably be good to do that in all of libc, if you'd be up for it.

@indutny
Copy link
Contributor Author

indutny commented Jun 21, 2013

@cmr done.

@indutny
Copy link
Contributor Author

indutny commented Jun 21, 2013

@cmr what about 2 other commits?

@emberian
Copy link
Member

@indutny bors only pays attention to the latest commit in a pull request (so people can't update a pull request and still get it merged without review)

@indutny
Copy link
Contributor Author

indutny commented Jun 21, 2013

Ah, good to know :) Thank you!

@indutny
Copy link
Contributor Author

indutny commented Jun 22, 2013

@cmr force pushed with fixes to mmap type and MAP_FAILED

@indutny
Copy link
Contributor Author

indutny commented Jun 22, 2013

please r?

Because its part of POSIX. Values are taken from FreeBSD, linux
and OSX header files.
Because its part of POSIX. Values are taken from FreeBSD, linux
and OSX header files.
bors added a commit that referenced this pull request Jun 25, 2013
Add functions and constants required to be able to use `mmap` and friends.
@bors bors closed this Jun 25, 2013
@bors bors merged commit bc70edb into rust-lang:master Jun 25, 2013
bors added a commit that referenced this pull request Jun 27, 2013
add android dummy functions which does not exist in boinic.

after #7257, some mman related functions are needed for android.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 24, 2022
…teffen

Improve `redundant_slicing` lint

fixes rust-lang#7972
fixes rust-lang#7257

This can supersede rust-lang#7976

changelog: Fix suggestion for `redundant_slicing` when re-borrowing for a method call
changelog: New lint `deref_as_slicing`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants