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

assume-no-moving-gc issue with go 1.18 #7

Open
yglcode opened this issue May 11, 2022 · 0 comments
Open

assume-no-moving-gc issue with go 1.18 #7

yglcode opened this issue May 11, 2022 · 0 comments

Comments

@yglcode
Copy link

yglcode commented May 11, 2022

"go install github.com/cloudflare/tubular/cmd/tubectl@latest" will get a tubectl with the following warning:
"
panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that it's safe against the go1.18 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 set. Notably, if go1.18 adds a moving garbage collector, this program is unsafe to use.
"
upgrade go4.org/unsafe/assume-no-moving-gc will fix it

@yglcode yglcode changed the title assume-no-moving-gc issu with go 1.18 assume-no-moving-gc issue with go 1.18 May 11, 2022
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

No branches or pull requests

1 participant