2 Commits
Author SHA1 Message Date
Ayush RanjanandgVisor bot f62a4a77d5 Update go branch to Go 1.21.
Starting with Go 1.21, build tags select the language version. We currently
have several `go:build go1.1` tags, which were intended to act as "true" tags.
But that will break with 1.21. So replace them with "!false".

Fixes #9568.

PiperOrigin-RevId: 576020779
2023-10-23 22:09:47 -07:00
Etienne PerotandgVisor bot d0326a67da runsc: Refactor in how the version string is propagated in runsc.
This is helpful so that it can be imported form other packages without import
loops.

This will be used in a follow-up change to add the version string as a
per-sandbox metric metadata label.

PiperOrigin-RevId: 519002695
2023-03-23 17:12:09 -07:00