From 395fbb343a025ceeb9f9930314fa872b20813b96 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Wed, 14 Apr 2021 17:55:05 -0300 Subject: [PATCH] fix(core): build error without updater feature (#1489) --- core/tauri/src/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/tauri/src/error.rs b/core/tauri/src/error.rs index 974d0d218..6e4666673 100644 --- a/core/tauri/src/error.rs +++ b/core/tauri/src/error.rs @@ -54,6 +54,7 @@ pub enum Error { #[error("error encountered during setup hood: {0}")] Setup(#[from] Box), /// Tauri updater error. + #[cfg(feature = "updater")] #[error("Updater: {0}")] TauriUpdater(#[from] crate::updater::Error), }