Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cargo 3ds new #57

Merged
merged 4 commits into from
May 3, 2024
Merged

Improve cargo 3ds new #57

merged 4 commits into from
May 3, 2024

Conversation

Meziu
Copy link
Member

@Meziu Meziu commented Apr 26, 2024

Based on the discussion in #51.

With these changes, cargo 3ds new can be run without a nightly toolchain. It also puts a dummy file within the newly built romfs folder to ensure a proper git commit configuration.

Furthermore, shlex had some pretty important security updates so I bumped the requirements and the minimum rust nightly used in the CI has been bumped to stay in line with ctru-rs (failed builds under 1.73).

@Meziu Meziu requested a review from a team as a code owner April 26, 2024 10:15
eprintln!("cargo-3ds requires a nightly rustc version.");
// If the channel isn't nightly, we can't make use of the required unstable tools.
// However, `cargo 3ds new` doesn't have these requirements.
if rustc_version.channel > Channel::Nightly && input.cmd.should_compile() {
Copy link
Member

Choose a reason for hiding this comment

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

Seems like a reasonable relax of the requiement 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, it felt weird needing to pass +nightly before even getting into the project folder.

@Meziu Meziu merged commit a5d5c3f into master May 3, 2024
3 checks passed
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