imgk / caddy-trojan

Caddy module for trojan proxy
GNU General Public License v3.0
204 stars 46 forks source link

failed to build with 2cd4633 #64

Closed cattyhouse closed 7 months ago

cattyhouse commented 7 months ago
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux XCADDY_GO_BUILD_FLAGS="-ldflags '-s -w -buildid='" xcaddy build v2.7.6 --output caddy-v2.7.6-x86_64 --with github.com/imgk/caddy-trojan
# github.com/caddyserver/caddy/v2
../../../go/pkg/mod/github.com/caddyserver/caddy/v2@v2.7.6/listeners.go:477:4: unknown field RequireAddressValidation in struct literal of type quic.Config
../../../go/pkg/mod/github.com/caddyserver/caddy/v2@v2.7.6/listeners.go:516:4: unknown field RequireAddressValidation in struct literal of type quic.Config
2024/04/12 10:02:59 [INFO] Cleaning up temporary folder: /Users/m1/make/caddy-trojan/buildenv_2024-04-12-1002.443345072
2024/04/12 10:02:59 [FATAL] exit status 1
imgk commented 7 months ago

Fixed