Correct. I do propose to ignore that motivation, and replace it with:
Embedding is a reasonable reason to want to exclude zlib
, and Iād argue more realistic than some hypothetical bootstrapping environment.
But Iām okay with the default behaviour being to fail if you donāt have it, and require an explicit option to continue without. Perhaps itās a good opportunity to ensure all references to it are in one place (presumably zlibmodule.c
?) and that module is the only thing included/excluded. We ought to be able to relatively easily turn builtin modules on and off in very few locations.
Itās because I havenāt gotten around to setting everything up to do the static build from our source copies of zlib to then compile in the resulting .o
file when building Python (i.e. WASI doesnāt have OS package maintainers building zlib for us, just me ).
And Iām fine not giving WASI an exemption once I have enough time to get zlib building via Tools/wasm/wasi.py
.