cloudflare / cloudflare/tubular

assume-no-moving-gc issue with go 1.18

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
332
Forks
18
PR merge metrics
No merged PRs in 30d

Description

"go install github.com/cloudflare/tubular/cmd/tubectl@latest" will get a tubectl with the following warning:
"
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.
"
upgrade go4.org/unsafe/assume-no-moving-gc will fix it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run "go install github.com/cloudflare/tubular/cmd/tubectl@latest" with Go 1.18 to reproduce the assume-no-moving-gc warning. Inspect the go4.org/unsafe/assume-no-moving-gc dependency and upgrade it; done means tubectl installs without that runtime warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.