Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[runtime] Fix build with musl (#1505)
The current version of musl libc doesn't define a separate `renameat2` function. It uses `renameat2` syscall insice `renameat` when it's avaialble, but it doesn't allow to provide flags[0]. There is a patchset introducing a separate function, which also allows to define flags, but it's not included in any release yet[1]. [0] https://git.musl-libc.org/cgit/musl/tree/src/unistd/renameat.c [1] https://www.openwall.com/lists/musl/2024/05/07/7
- Loading branch information