If they have different function signatures it would require modifying the places in std that call them. It's desirable for std to have a clean platform abstraction layer where those decisions can be centralized, but it doesn't really exist today (@jethrogb's link has some discussion).
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Redox support in `liblibc` and `libstd`
|
20 | 5353 | March 25, 2019 | |
Libsystem, or, the great libstd refactor | 37 | 12451 | March 25, 2019 | |
pre-RFC: global source replacement in Cargo for OS bindings | 15 | 1491 | May 8, 2019 | |
[discussion / pre-pre-pre-RFC] out-of-tree platform support for libstd | 2 | 880 | March 25, 2019 | |
Managing libstd's dependency on libc | 3 | 2820 | March 25, 2019 |