Skip to content

Commit

Permalink
Restrict GOPROXY (#2434)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Dec 6, 2023
1 parent 21b7ab8 commit 7df1f3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/constants.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ export CGO_CFLAGS="-O2 -D__BLST_PORTABLE__"
# While CGO_ENABLED doesn't need to be explicitly set, it produces a much more
# clear error due to the default value change in go1.20.
export CGO_ENABLED=1

# Disable version control fallbacks
export GOPROXY="https://proxy.golang.org"

0 comments on commit 7df1f3a

Please sign in to comment.