wasi.c: report no environment variables available

I moved part of the compiler that checks environment variables to the
standard library, so it doesn't have access to `build_options.only_c`
anymore, which means some environment variable checks are leaking into
the zig1.wasm build of zig. This logic still makes it return "no
environment variables found" though.
dff45c266eAndrew Kelley committed on 2/28/2024, 5:55:00 AMparent420b771
1 file changedLine totals unavailable