Here is a bunch of functions that need to be defined when compiling rustc for musl: * [x] wcsftime (https://github.com/sunfishcode/c-ward/pull/168) * [x] getwc (https://github.com/sunfishcode/c-ward/pull/168) * [x] putwc (https://github.com/sunfishcode/c-ward/pull/168) * [x] wcsxfrm (https://github.com/sunfishcode/c-ward/pull/168) * [x] wcscoll (https://github.com/sunfishcode/c-ward/pull/168) * [x] towupper (https://github.com/sunfishcode/c-ward/pull/168) * [x] towlower (https://github.com/sunfishcode/c-ward/pull/168) And functions that actually need to be implemented for rustc to not crash: * [ ] wctype (and possibly `iswctype`) * [ ] btowc * [ ] wctob * [ ] sched_yield * [ ] posix_madvise * [ ] getauxval * [ ] fcntl(F_SETLK) with start/len args (blocked on https://github.com/bytecodealliance/rustix/issues/1574) I may be missing some as I got a frankenstein combination of musl's dynamic linker (+ part of musl libc) and eyra that I used for testing. Edit: Moved the posix_spawn family to https://github.com/sunfishcode/c-ward/issues/167 as cargo needs actual implementations.
Activity