Skip to content

[IO] Make LeasedBuffer.empty() internal - #111

Merged
FranzBusch merged 1 commit into
swiftlang:mainfrom
ktoso:leasedbuffer-empty-internal
Nov 24, 2026
Merged

FranzBusch merged 1 commit into
swiftlang:mainfrom
ktoso:leasedbuffer-empty-internal

Conversation

@ktoso

@ktoso ktoso commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

We're not building as a package when part of the Swift build. Drop the package keyword, so we don't need to pass a package name when building as part of Swift. This API wasn't used anywhere yet, so internal should be fine. This type ends up in _PlatformExecutorsCore when we do #107.

A package declaration would also show up in the ABI, since it is effectively public ABI, so we want to avoid that.

We're not building as a package when part of the Swift build. Drop the
`package` keyword, so we don't need to pass a package name when building as
part of Swift. This API wasn't used anywhere yet, so `internal` should be
fine.

A `package` declaration would also show up in the ABI, since it is
effectively public ABI, so we want to avoid that.
@FranzBusch

Copy link
Copy Markdown
Member

I think that's okay for now. We might need to make it public down the line.

@FranzBusch
FranzBusch merged commit 45e0afd into swiftlang:main Nov 24, 2026
19 of 21 checks passed
@ktoso
ktoso deleted the leasedbuffer-empty-internal branch November 24, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants