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

使用go1.21编译报错, #2466

Closed
hkbase opened this issue Aug 21, 2023 · 2 comments · Fixed by #2479
Closed

使用go1.21编译报错, #2466

hkbase opened this issue Aug 21, 2023 · 2 comments · Fixed by #2479

Comments

@hkbase
Copy link

hkbase commented Aug 21, 2023

go版本:1.21
编译最新源码,报错如下:
image

@maskedeken
Copy link
Contributor

gvisor的版本太老了,不支持go 1.21

@y1rn
Copy link

y1rn commented Aug 24, 2023

这个版本可以使用gvisor.dev/gvisor v0.0.0-20230706161837-38e788f9b248,需要修改一下proxy/wireguard/tun.go代码:

image

⚠️ 我是编译server端使用,应该没有使用wireguard和gvisor,client端慎用

douglarek added a commit to douglarek/Xray-core that referenced this issue Aug 24, 2023
arm64v8a pushed a commit to MatsuriDayo/Xray-core that referenced this issue Aug 24, 2023
yuhan6665 pushed a commit that referenced this issue Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants