| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds rather complete definitions and declarations from AIX
system headers, with little modification to fit the assumption in some
crates or other targets in libc.
Currently only 64-bit PowerPC targets on AIX are proposed, so
definitions depending on pointer width are located in powerpc64 module.
Thanks to initial work from Etienne Guesnet, this patch is based on it
(#2278).
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for QNX/Neutrino 7.1
Test cases (ctest2, all succeed):
QNX/Neutrino 7.1 x86_64: 9884
QNX/Neutrino 7.1 aarch64: 9766
Co-authored-by: Tristan Roach <troach@qnx.com>
Co-authored-by: Florian Bartels <Florian.Bartels@elektrobit.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test cases (ctest2, all succeed):
QNX/Neutrino 7.1 x86_64: 9884
QNX/Neutrino 7.1 aarch64: 9766
Co-authored-by: Tristan Roach <troach@qnx.com>
Co-authored-by: Florian Bartels <Florian.Bartels@elektrobit.com>
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
Add `stpcpy`, `stpncpy`, and `strtok_r` to unix
These are POSIX 2008 extensions to the C standard.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for Apple WatchOS
Hi, I am hoping to add Apple WatchOS compile targets and these are prerequisite changes.
Many thanks!
Vlad.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
# Conflicts:
# src/unix/mod.rs
# src/unix/newlib/horizon/mod.rs
|
| |/ |
|
|/
|
|
| |
(cherry picked from commit e84dbb7cb3a015c9f33db9b29019975c669113de)
|
|
|
|
|
| |
These items were recently deprecated on DragonFly, either because
the platform does not define them or because they were out of date.
|
|\
| |
| |
| |
| |
| |
| |
| | |
Document stat.st_blksize changes on DragonFly BSD
The tests are currently failing on DragonFly BSD, due to [changes to `stat.st_blksize`](https://github.com/DragonFlyBSD/DragonFlyBSD/commit/34c6728ee290889398ff2f1305a91f08aa6b0b35) among other reasons.
`st_blksize` is now an `i64`, and has moved to take up a previously reserved struct member. Deprecate the struct, to indicate it will be modified in a subsequent release.
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
All platforms that have `strtod` very likely also have `strtof`. Having
`strtof` allows for fuzzing of `hexf-parse::parse_hexf32` comparing
against `strtof`, which can't (easily) be done with `strtod`, due to
float rounding and over-/underflow behavior.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Haiku: add definitions for the Haiku's native sytem API.
On the Haiku platform, the POSIX (and BSD) API coexists with the native API,
that has its origins on the BeOS platform. Unlike other UNIX-like platforms,
the native API is not an extension of the POSIX API, but instead exists sui
generis, and many of the POSIX concepts have their own native variety, with
relatively limited interoperability.
Nonetheless, the native API coexists in the same library as the standard C and
POSIX functions, namely libroot.so, and therefore this crate is a good place
to add bindings to it.
This commit implements most of Haiku's support kit, the most important parts
of the kernel kit, and a part of the storage kit.
|
| |
| |
| |
| | |
No changes to other platforms.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix missing dl lib on armv5te-unknown-linux-uclibceabi
I'm unable to link my executable for the Linux uClibc environment because of some missing symbols from the dl lib:
```
/home/operutka/goodcam/goodcam-server/target/armv5te-unknown-linux-uclibceabi/release/deps/goodcam_server-aefb92c403e8cd55.goodcam_server.dzc3futp-cgu.0.rcgu.o: In function `mio::sys::unix::dlsym::fetch::he5e2964820cfd29d':
goodcam_server.dzc3futp-cgu.0:(.text._ZN3mio3sys4unix5dlsym5fetch17he5e2964820cfd29dE+0x30): undefined reference to `dlsym'
/home/operutka/goodcam/goodcam-server/target/armv5te-unknown-linux-uclibceabi/release/deps/goodcam_server-aefb92c403e8cd55.goodcam_server.dzc3futp-cgu.0.rcgu.o: In function `std::sys::unix::weak::fetch::h5ed4b0fa5792ef5c':
goodcam_server.dzc3futp-cgu.0:(.text._ZN3std3sys4unix4weak5fetch17h5ed4b0fa5792ef5cE+0x3c): undefined reference to `dlsym'
```
The libc crate is being used at both of these points.
This change fixes the issue for me. I've tested it with two different GCC cross toolchains for armv5te and it seems to be OK.
_Note: I'm building my own std using the unstable build-std Cargo feature._
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
Move the link line for `libdl` up to `src/unix/mod.rs`, making it easier
to see all the libraries `libc` links to.
This also makes `libdl` respect `target-feature=+crt-static`.
|
|
|
|
|
|
|
|
|
|
|
| |
The two library blocks that specify `#[link(name = "util")]` do not
actually reference any functions in `libutil`; the functions that do use
`libutil` don't have any reference to it. And having two library blocks
specify it results in two separate inclusions of `-lutil` on the linker
command line. Move the link lines up to `src/unix/mod.rs`, making it
easier to see all the libraries `libc` links to.
This also makes `libutil` respect `target-feature=+crt-static`.
|
|
|
|
|
|
|
|
|
| |
This will need corresponding changes in rust-lang/rust to activate, but
this will make it possible to make those changes.
Note that despite the apparent redundancy in config directives, the link
directives cannot be simplified any further. Attempting to factor out
the checks for `target_feature = "crt-static"` does not work.
|