cloudflare / cloudflare/tubular
assume-no-moving-gc issue with go 1.18
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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