x/exp/slog: does not build with 1.18 #57113
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No, it works fine in 1.19
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to import and use the package
golang.org/x/exp/slog
and ran into the issue ofatomic.Int64
not being defined for 1.18.What did you expect to see?
The go.mod file in the exp repo shows that it should work for 1.18.
What did you see instead?
Failure to build.
The text was updated successfully, but these errors were encountered: