Skip to content

Commit

Permalink
chore(build): remove rerun-if-changed instruction for Swift package
Browse files Browse the repository at this point in the history
Let's leave that to swift-rs
  • Loading branch information
lucasfernog committed Mar 18, 2023
1 parent 6a8888d commit 153b462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tauri-build/src/mobile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 153b462

Please sign in to comment.