Skip to content

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
Contributor

@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
Contributor

@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?

indutny added 2 commits June 24, 2013 19:04
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