Commit Graph

9 Commits

Author SHA1 Message Date
565edd051f Remove dependency on ragel command 2021-01-17 09:42:52 -08:00
9f68d6eee9 Fix link order in cosmopolitan.a
It turned out that the linker was doing the wrong with the amalgamation
library concerning weak stubs. A regression test has been added and new
binaries have been uploaded to https://justine.lol/cosmopolitan/

Ideally this should be fixed by building a tool that turns multiple .a
files into a single .a file with deduplication. As a workaround for now
the cosmopolitan.a build is restructured to not include LIBC_STUBS which
meant technical debt needed to be paid off where non-stub interfaces
were moved to LIBC_INTRIN and LIBC_NEXGEN32E.

Thank @PerfectProductions in #31 for the report!
2021-01-16 12:05:41 -08:00
1fc91f3580 Fold conv package into fmt
Both packages had nearly identical dependency requirements, so merging
them should help reduce the complexity of the build graph.
2020-12-09 16:52:00 -08:00
db33973e0a Get fork() working on Windows
This is done without using Microsoft's internal APIs. MAP_PRIVATE
mappings are copied to the subprocess via a pipe, since Microsoft
doesn't want us to have proper COW pages. MAP_SHARED mappings are
remapped without needing to do any copying. Global variables need
copying along with the stack and the whole heap of anonymous mem.
This actually improves the reliability of the redbean http server
although one shouldn't expect 10k+ connections on a home computer
that isn't running software built to serve like Linux or FreeBSD.
2020-11-13 03:14:39 -08:00
feed0d2b0e Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
680daf1210 Fix build/test breakage caused by last commit 2020-10-06 12:16:17 -07:00
c45e46f871 Add fixes performance and static web server 2020-10-05 23:11:49 -07:00
7327c345f9 Get address sanitizer mostly working 2020-09-03 05:44:37 -07:00
c91b3c5006 Initial import 2020-06-15 07:18:57 -07:00