Skip to content

Commit

Permalink
Merge pull request #128 from ledex/patch-1
Browse files Browse the repository at this point in the history
Improve no moving gc fix
  • Loading branch information
chewxy authored May 27, 2024
2 parents ab97562 + b2410e8 commit 27bb734
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to d

then do

`export ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.19 `
`export ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.XX `

and then run the program again.
with `XX` being the minor version defined in your `go.mod`-file.

Then run the program again.

For further explanation, please see the [Hello World tutorial](/tutorials/hello-world).

0 comments on commit 27bb734

Please sign in to comment.