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

Getting start code failed to run #531

Open
FTamas77 opened this issue Jul 24, 2022 · 1 comment · May be fixed by #532
Open

Getting start code failed to run #531

FTamas77 opened this issue Jul 24, 2022 · 1 comment · May be fixed by #532

Comments

@FTamas77
Copy link

Hi, I've copied the getting started code from here:
https://gorgonia.org/getting-started/
and I run with go1.18 and get this:
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.
I've found a few things on the internet, but I wouldn't disable it.

@chewxy chewxy linked a pull request Jul 24, 2022 that will close this issue
@chewxy
Copy link
Member

chewxy commented Jul 24, 2022

HI @FTamas77 - this will be fixed in #532. When the tests pass I will merge it all into a new release

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.

2 participants