Alle Optionen
trixie  ] [  forky  ] [  sid  ]
[ Quellcode: golang-go4-unsafe-assume-no-moving-gc  ]

Paket: golang-go4-unsafe-assume-no-moving-gc-dev (0.0~git20231121.b99613f-2)

Links für golang-go4-unsafe-assume-no-moving-gc-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-go4-unsafe-assume-no-moving-gc herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

declare Go code that play unsafe GC games (library)

go4.org/unsafe/assume-no-moving-gc

If your Go package wants to declare that it plays unsafe games that only work if the Go runtime's garbage collector is not a moving collector, then add:

  import _ "go4.org/unsafe/assume-no-moving-gc"

Then your program will explode if that's no longer the case. (Users can override the explosion with a scary sounding environment variable.)

This package contains the Go development library.

golang-go4-unsafe-assume-no-moving-gc-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 3,9 kB20,0 kB [Liste der Dateien]