Skip to content

Commit 42b6ff3

Browse files
dzbarskyfmeum
andauthored
Update go/private/actions/stdlib.bzl
Co-authored-by: Fabian Meumertzheim <[email protected]>
1 parent f1685ce commit 42b6ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/private/actions/stdlib.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _should_use_sdk_stdlib(go):
5656
if version and version[0] <= 1 and version[1] <= 19 and go.sdk.experiments:
5757
# The precompiled stdlib shipped with 1.19 or below doesn't have experiments
5858
return False
59-
return (go.sdk.libs.to_list() and # go.sdk.libs is non-empty if sdk ships with precompiled .a files
59+
return (go.sdk.libs and # go.sdk.libs is non-empty if sdk ships with precompiled .a files
6060
go.mode.goos == go.sdk.goos and
6161
go.mode.goarch == go.sdk.goarch and
6262
not go.mode.race and # TODO(jayconrod): use precompiled race

0 commit comments

Comments
 (0)