|
|
|
|
|
by JonChesterfield
1453 days ago
|
|
Agreed. Essentially the build system should do whatever crackpot things it likes to bootstrap with bespoke languages and so forth, but the output should be a single somewhat auditable C file that gets fed to a compiler, not a binary with exciting dependencies on wherever it was built. How sqlite constructs the single source/header pair looks ideal. Various efforts have bundled lua and some libraries into a single C file too. Check in that generated C file and you have trivial 'bootstrap' for everyone else. Ideally have some CI that checks the dev files still generate that exact C file on request. |
|