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.19 panic while using 928513b29760 version #8

Open
JangoCCC opened this issue Apr 3, 2023 · 1 comment
Open

go1.19 panic while using 928513b29760 version #8

JangoCCC opened this issue Apr 3, 2023 · 1 comment

Comments

@JangoCCC
Copy link

JangoCCC commented Apr 3, 2023

My version is go4.org/unsafe/assume-no-moving-gc v0.0.0-20220617031537-928513b29760 // indirect. This version asserts go 1.19 is safe.And my go version is go1.19, but I still got this panic:
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.19 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.19 set. Notably, if go1.18 adds a moving garbage collector, this program is unsafe to uses.
Any thought?

@bradfitz
Copy link
Contributor

bradfitz commented Apr 3, 2023

That's not really enough info for me to tell you what's going on. You can try:

go get go4.org/unsafe/assume-no-moving-gc@upgrade

What's your go version say?

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

2 participants