zig
zig copied to clipboard
zig build and socks5 proxy issues
Zig Version
v0.12.0-dev.3180+83e578a18
Steps to Reproduce and Observed Behavior
OS: Arch Environment variables: http_proxy https_proxy ftp_proxy rsync_proxy no_proxy refers to 127.0.0.1:1080
All the other programs work well except zig build not work, I tried the dirty script trick here #15048, it works. I also tried #18679 to redirect traffics, it's not work at first, then I disabled all environment variables and this trick solved the network error.
zig build works well with or without the socks5 proxy, it only does not work with the proxy environment variables in the zshenv. The restricted network is not the problem but the proxy environment variable is.
Expected Behavior
zig build works normal with the OS system-wide proxy environment variables.