Explorar o código

chore(build): remove rerun-if-changed instruction for Swift package

Let's leave that to swift-rs
Lucas Nogueira %!s(int64=2) %!d(string=hai) anos
pai
achega
153b4627e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/tauri-build/src/mobile.rs

+ 1 - 1
core/tauri-build/src/mobile.rs

@@ -97,7 +97,7 @@ impl PluginBuilder {
 #[doc(hidden)]
 pub fn link_swift_library(name: &str, source: impl AsRef<Path>) {
   let source = source.as_ref();
-  println!("cargo:rerun-if-changed={}", source.display());
+
   let curr_dir = std::env::current_dir().unwrap();
   std::env::set_current_dir(source).unwrap();
   swift_rs::SwiftLinker::new(