fix: Builds failing due to new Rust version
This commit is contained in:
parent
7481ac1825
commit
e36bb74231
4 changed files with 13 additions and 15 deletions
|
|
@ -14,12 +14,11 @@ fn main() {
|
|||
log::trace!("Parsed arguments: {args:#?}");
|
||||
|
||||
signal_handler::init(|| match args.command {
|
||||
#[cfg(feature = "init")]
|
||||
CommandArgs::Init(mut command) => command.run(),
|
||||
|
||||
#[cfg(feature = "init")]
|
||||
CommandArgs::New(mut command) => command.run(),
|
||||
// #[cfg(feature = "init")]
|
||||
// CommandArgs::Init(mut command) => command.run(),
|
||||
|
||||
// #[cfg(feature = "init")]
|
||||
// CommandArgs::New(mut command) => command.run(),
|
||||
CommandArgs::Build(mut command) => command.run(),
|
||||
|
||||
CommandArgs::Generate(mut command) => command.run(),
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ pub mod bug_report;
|
|||
pub mod build;
|
||||
pub mod completions;
|
||||
pub mod generate;
|
||||
#[cfg(feature = "init")]
|
||||
pub mod init;
|
||||
// #[cfg(feature = "init")]
|
||||
// pub mod init;
|
||||
#[cfg(not(feature = "switch"))]
|
||||
pub mod local;
|
||||
#[cfg(feature = "switch")]
|
||||
|
|
@ -107,13 +107,12 @@ pub enum CommandArgs {
|
|||
#[cfg(feature = "switch")]
|
||||
Switch(switch::SwitchCommand),
|
||||
|
||||
/// Initialize a new Ublue Starting Point repo
|
||||
#[cfg(feature = "init")]
|
||||
Init(init::InitCommand),
|
||||
|
||||
#[cfg(feature = "init")]
|
||||
New(init::NewCommand),
|
||||
// /// Initialize a new Ublue Starting Point repo
|
||||
// #[cfg(feature = "init")]
|
||||
// Init(init::InitCommand),
|
||||
|
||||
// #[cfg(feature = "init")]
|
||||
// New(init::NewCommand),
|
||||
/// Create a pre-populated GitHub issue with information about your configuration
|
||||
BugReport(bug_report::BugReportCommand),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue