Skip to content

New vpn build process#22

Merged
lacraig2 merged 6 commits intomainfrom
new_vpn
Mar 27, 2025
Merged

New vpn build process#22
lacraig2 merged 6 commits intomainfrom
new_vpn

Conversation

@lacraig2
Copy link
Contributor

This PR fixes up some smaller issues in dependency changes in tokio-vsock.

Further, it changes our build process by moving things into a dockerfile. This helps us to target mips with verions @ rust 1.7.0 while maintaining all other targets at later rust versions.

@lacraig2 lacraig2 requested a review from Copilot March 27, 2025 06:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the VPN build process by addressing dependency changes and transitioning the build process to a Docker-based approach.

  • Update tokio-vsock dependency from "0" to "0.6.0".
  • Modify the build workflow by replacing a direct run of a package script with a Docker build and run sequence.
  • Update usage of vsock-related APIs in src/guest.rs and src/host.rs to align with new API requirements.

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/build.yml Changed build steps to use Docker build and run commands for packaging.
Cargo.toml Upgraded tokio-vsock dependency version to 0.6.0.
src/guest.rs Adapted vsock listener binding and adjusted parameter mutability.
src/host.rs Updated vsock stream API usage to use VsockAddr and into_split().
Files not reviewed (1)
  • Dockerfile: Language not supported

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@lacraig2 lacraig2 merged commit 173d089 into main Mar 27, 2025
1 check passed
@lacraig2 lacraig2 deleted the new_vpn branch March 27, 2025 19:21
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