Skip to content

libnative: Implement get_host_addresses. #11732

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

Merged
merged 3 commits into from
Jan 25, 2014

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Jan 22, 2014

The last bit I needed to be able to use libnative :P


// cannot give tcp/ip permission without help of apk
#[cfg(test, not(target_os="android"))]
mod test {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you actually add these tests to io::net::addrinfo instead? That way you can use the iotest! macro and seamlessly test on libnative and libgreen.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's also a test that should be converted to iotest! in that module.

@alexcrichton
Copy link
Member

Nice work, thanks for doing this!

bors added a commit that referenced this pull request Jan 24, 2014
The last bit I needed to be able to use libnative :P
@bors bors closed this Jan 25, 2014
@bors bors merged commit adb5128 into rust-lang:master Jan 25, 2014
@luqmana luqmana deleted the native-getaddrinfo branch June 5, 2014 23:18
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