mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
fix unchanged mobile_ffi.rs
This commit is contained in:
parent
52d4b4226e
commit
bd2250b6c9
1 changed files with 2 additions and 2 deletions
4
build.rs
4
build.rs
|
@ -64,11 +64,11 @@ fn install_oboe() {
|
||||||
|
|
||||||
fn gen_flutter_rust_bridge() {
|
fn gen_flutter_rust_bridge() {
|
||||||
// Tell Cargo that if the given file changes, to rerun this build script.
|
// 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
|
// settings for fbr_codegen
|
||||||
let opts = lib_flutter_rust_bridge_codegen::Opts {
|
let opts = lib_flutter_rust_bridge_codegen::Opts {
|
||||||
// Path of input Rust code
|
// 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
|
// Path of output generated Dart code
|
||||||
dart_output: "flutter/lib/generated_bridge.dart".to_string(),
|
dart_output: "flutter/lib/generated_bridge.dart".to_string(),
|
||||||
// for other options lets use default
|
// for other options lets use default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue