From bd2250b6c97f87987d6c861b2030ba3d25e94a98 Mon Sep 17 00:00:00 2001 From: SoLongAndThanksForAllThePizza <103753680+SoLongAndThanksForAllThePizza@users.noreply.github.com> Date: Wed, 25 May 2022 20:50:32 +0800 Subject: [PATCH] fix unchanged mobile_ffi.rs --- build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index aaf0858c1..bad00457f 100644 --- a/build.rs +++ b/build.rs @@ -64,11 +64,11 @@ fn install_oboe() { fn gen_flutter_rust_bridge() { // Tell Cargo that if the given file changes, to rerun this build script. - println!("cargo:rerun-if-changed=src/mobile_ffi.rs"); + println!("cargo:rerun-if-changed=src/flutter_ffi.rs"); // settings for fbr_codegen let opts = lib_flutter_rust_bridge_codegen::Opts { // Path of input Rust code - rust_input: "src/mobile_ffi.rs".to_string(), + rust_input: "src/flutter_ffi.rs".to_string(), // Path of output generated Dart code dart_output: "flutter/lib/generated_bridge.dart".to_string(), // for other options lets use default