[PATCH v4 10/18] tools/nolibc: add rmdir() support