Skip to content
Snippets Groups Projects
Commit 7bbb1f92 authored by Cédric Moreau's avatar Cédric Moreau Committed by Cédric Moreau
Browse files

fix: remove remaining x86_64 GVA restrictions

parent cbb2643b
No related branches found
No related tags found
1 merge request!1417build: enable gva for all architectures
Pipeline #32342 passed
...@@ -82,7 +82,6 @@ pub(crate) fn gen_duniter_ts_args( ...@@ -82,7 +82,6 @@ pub(crate) fn gen_duniter_ts_args(
gen_start_args(start_args, &mut duniter_ts_args); gen_start_args(start_args, &mut duniter_ts_args);
gen_webstart_args(webstart_args, &mut duniter_ts_args); gen_webstart_args(webstart_args, &mut duniter_ts_args);
} }
#[cfg(target_arch = "x86_64")]
DuniterCommand::Gva(_) => unreachable!(), DuniterCommand::Gva(_) => unreachable!(),
DuniterCommand::Start(ref start_args) => { DuniterCommand::Start(ref start_args) => {
duniter_ts_args.push("direct_start".to_owned()); duniter_ts_args.push("direct_start".to_owned());
......
...@@ -32,7 +32,6 @@ mod sync; ...@@ -32,7 +32,6 @@ mod sync;
use anyhow::{anyhow, Result}; use anyhow::{anyhow, Result};
use daemonize_me::Daemon; use daemonize_me::Daemon;
#[cfg(target_arch = "x86_64")]
use duniter_gva_conf::GvaCommand; use duniter_gva_conf::GvaCommand;
use logwatcher::{LogWatcher, LogWatcherAction}; use logwatcher::{LogWatcher, LogWatcherAction};
use nix::{errno::Errno, sys::signal::Signal, unistd::Pid, Error}; use nix::{errno::Errno, sys::signal::Signal, unistd::Pid, Error};
...@@ -82,7 +81,6 @@ enum DuniterCommand { ...@@ -82,7 +81,6 @@ enum DuniterCommand {
after_help("Some advanced options are hidden for readability.") after_help("Some advanced options are hidden for readability.")
)] )]
Config(Box<config::DuniterCoreConfigArgs>), Config(Box<config::DuniterCoreConfigArgs>),
#[cfg(target_arch = "x86_64")]
#[structopt(display_order(1))] #[structopt(display_order(1))]
Gva(GvaCommand), Gva(GvaCommand),
/// Launch the configuration wizard. /// Launch the configuration wizard.
...@@ -219,7 +217,6 @@ fn main() -> Result<()> { ...@@ -219,7 +217,6 @@ fn main() -> Result<()> {
let log_level_filter = get_log_level(args.log)?; let log_level_filter = get_log_level(args.log)?;
let profile_path = get_profile_path(args.profile.as_deref())?; let profile_path = get_profile_path(args.profile.as_deref())?;
#[cfg(target_arch = "x86_64")]
if let DuniterCommand::Gva(gva_command) = args.command { if let DuniterCommand::Gva(gva_command) = args.command {
return gva_command.command(profile_path); return gva_command.command(profile_path);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment