Skip to content

Move the VminitdCore library to the top-level package#742

Open
dkovba wants to merge 4 commits into
apple:mainfrom
dkovba:vminitd
Open

Move the VminitdCore library to the top-level package#742
dkovba wants to merge 4 commits into
apple:mainfrom
dkovba:vminitd

Conversation

@dkovba
Copy link
Copy Markdown
Contributor

@dkovba dkovba commented May 18, 2026

External Swift Package Manager consumers can only see products declared in the top-level Package.swift. The VminitdCore library was declared inside the vminitd subpackage, so it was impossible to build a custom vminitd against it via a URL dependency on containerization. This change moves the VminitdCore to the top-level Package.swift.

@dkovba dkovba requested review from crosbymichael and dcantah May 18, 2026 22:10
Comment thread Package.swift
path: "vminitd/Sources/LCShim"
),
.target(
name: "Cgroup",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not super happy about this as I wanted to give the API we expose a better exploration, but if this is what we need to do for now that's okay with me.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, we can trim what doesn't need to cross the package boundary.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dcantah Done

@dkovba dkovba requested a review from dcantah May 19, 2026 22:13
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