Debian Codegraph @

README.md

raw symbols SCIP
1 # go4.org/unsafe/assume-no-moving-gc
2
3 If your Go package wants to declare that it plays `unsafe` games that only
4 work if the Go runtime's garbage collector is not a moving collector, then add:
5
6 ```go
7 import _ "go4.org/unsafe/assume-no-moving-gc"
8 ```
9
10 Then your program will explode if that's no longer the case. (Users can override
11 the explosion with a scary sounding environment variable.)
12
13 This also gives us a way to find all the really gross unsafe packages.