Skip to content

fix: cargo cargo sails new error: failed to select a version for the requirement#1273

Merged
vobradovich merged 3 commits intomasterfrom
vo/cli-cargo-update
Mar 31, 2026
Merged

fix: cargo cargo sails new error: failed to select a version for the requirement#1273
vobradovich merged 3 commits intomasterfrom
vo/cli-cargo-update

Conversation

@vobradovich
Copy link
Copy Markdown
Member

No description provided.

@vobradovich vobradovich self-assigned this Mar 30, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the sails version to 1.0.0-beta.2 across multiple IDL files and modifies the Rust CLI to perform a cargo update for the sails-rs package during program generation. A critical issue was found in the implementation of the cargo_update helper, as it fails to use the required --package flag when a specific package is provided, which will lead to command execution failure.

@vobradovich vobradovich requested a review from m62624 March 30, 2026 13:35
@vobradovich vobradovich merged commit 5ef9e6d into master Mar 31, 2026
4 checks passed
@vobradovich vobradovich deleted the vo/cli-cargo-update branch March 31, 2026 10:04
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