Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-20 | Chore: cleaned up the exit code to cleanly interface with libc | Nicholas | |
We use weak linking to ensure we clean up at exit time correctly. If libc is linked, then we call our cleanup function by registering an atexit callback with the library. If libc is not linked, we have a weak symbol that results in a noop. Similarly, if we call rt·exit while linked with libc, this immediately calls libc's exit (which will call our cleanup as we registered it). If we are not linked to libc, exit() is given as a weak link to a noop function. | |||
2021-11-20 | chore: simplify makefiles | Nicholas | |
2021-11-20 | Chore: reorganize libutf and libfmt into base | Nicholas | |
I found the split to be arbitrary. Better to include the functionality in the standard library. I also split the headers to allow for more granular inclusion (but the library is still monolithic). The only ugliness is the circular dependency introduced with libutf's generated functions. We put explicit prereqs with the necessary object files instead. | |||
2021-11-15 | Fix: Qsort had bad macro capture | Nicholas | |
2021-10-26 | chore(rename): libn -> base | Nicholas Noll | |