Conversation
c82667c to
a67b6e7
Compare
Contributor
|
several things at quick glance :
hope it helps (hopefully it will pass on android :) do not have the sdk and nothing set to check it). |
tgross35
requested changes
Aug 11, 2025
Contributor
tgross35
left a comment
There was a problem hiding this comment.
What exactly is the linking story here, by the way? Are the symbols always distributed with the libc binary?
| pub fn setdomainname(name: *const c_char, len: size_t) -> c_int; | ||
|
|
||
| // <resolv.h> | ||
| #[allow(dead_code)] |
Comment on lines
+2096
to
+2106
| pub fn res_mkquery( | ||
| op: c_int, | ||
| dname: *const c_char, | ||
| class: c_int, | ||
| kind: c_int, | ||
| data: *mut c_char, | ||
| newrr: *const c_void, | ||
| datalen: c_int, | ||
| buf: *mut c_char, | ||
| buflen: c_int, | ||
| ) -> c_int; |
Contributor
There was a problem hiding this comment.
This doesn't seem to match the definitions linked at #4611: those have data as const and followed by an integer
Contributor
There was a problem hiding this comment.
also few arguments misplacements see above my comment and on linux it should be linked to libresolv.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
See #4611
Sources
Checklist
libc-test/semverhave been updated*LASTor*MAXareincluded (see #3131)
cd libc-test && cargo test --target mytarget);especially relevant for platforms that may not be checked in CI
@rustbot label +stable-nominated