Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zig build and socks5 proxy issues #19717

Open
linc01 opened this issue Apr 21, 2024 · 0 comments
Open

zig build and socks5 proxy issues #19717

linc01 opened this issue Apr 21, 2024 · 0 comments
Labels
bug Observed behavior contradicts documented or intended behavior standard library This issue involves writing Zig code for the standard library.
Milestone

Comments

@linc01
Copy link

linc01 commented Apr 21, 2024

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.

@linc01 linc01 added the bug Observed behavior contradicts documented or intended behavior label Apr 21, 2024
@jedisct1 jedisct1 removed the bug Observed behavior contradicts documented or intended behavior label Apr 21, 2024
@andrewrk andrewrk added bug Observed behavior contradicts documented or intended behavior standard library This issue involves writing Zig code for the standard library. labels Aug 15, 2024
@andrewrk andrewrk added this to the 0.16.0 milestone Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior standard library This issue involves writing Zig code for the standard library.
Projects
None yet
Development

No branches or pull requests

3 participants