-
Notifications
You must be signed in to change notification settings - Fork 1.5k
pubsublite: use of 10GB int consts breaks 32 bit systems #14237
Copy link
Copy link
Closed
Labels
api: pubsubliteIssues related to the Pub/Sub Lite API.Issues related to the Pub/Sub Lite API.triage meI really want to be triaged.I really want to be triaged.
Description
697s # cloud.google.com/go/pubsublite/pscompat
697s src/cloud.google.com/go/pubsublite/pscompat/settings.go:125:21: cannot use 1e10 (untyped float constant 1e+10) as int value in struct literal (truncated)
and
# cloud.google.com/go/pubsublite/internal/wire [cloud.google.com/go/pubsublite/internal/wire.test]
src/cloud.google.com/go/pubsublite/internal/wire/settings_test.go:41:34: cannot use 1e10 (untyped float constant 1e+10) as int value in assignment (truncated)
src/cloud.google.com/go/pubsublite/internal/wire/settings_test.go:136:36: cannot use 1e10 (untyped float constant 1e+10) as int value in assignment (truncated)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubliteIssues related to the Pub/Sub Lite API.Issues related to the Pub/Sub Lite API.triage meI really want to be triaged.I really want to be triaged.