s390x-musl: define O_LARGEFILE constant#3262
s390x-musl: define O_LARGEFILE constant#3262bors merged 1 commit intorust-lang:mainfrom nekopsykose:s390x-largefile
Conversation
|
r? @JohnTitor (rustbot has picked a reviewer for you, use r? to override) |
|
I agree that libc should probably expose the value (so code that checks if it is set in a bitmask works?) but I think it's set to |
doesn't seem to be (note aarch64, for instance), from musl source:
ok, that seems much more thorough as a unification project. perhaps you'd like to also add these constants into that too? although in this case, these don't actually seem consistent for all 32 or all 64 bit widths.. |
my initial motivation is that rust 1.70 built on s390x musl now fails without this exposed. i'm not exactly sure why, as the failure is from perhaps because of some doc feature.. but it indeed is harmless to expose, so hotpatching it for vendor/libc worked fine. |
|
Huh, there's more divergence than I expected, don't worry about the unification then! |
|
no worries, thanks for the review! always nice to see people working on these interfaces too :) |
|
Thanks! @bors r+ |
|
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
from https://git.musl-libc.org/cgit/musl/tree/arch/s390x/bits/fcntl.h?id=4b125dd408d54487dc8843b9553502aa0c4167f8#n16
it's a nop as noted in 75ac488, but afaik we should still expose the symbol(?)