disable stupid ffigen in build.rs by default

This commit is contained in:
rustdesk 2023-06-29 12:05:47 +08:00
parent a3b0579e92
commit 2194b2afb2
3 changed files with 2 additions and 13 deletions

View file

@ -4,5 +4,5 @@ dart pub global activate ffigen --version 5.0.1
flutter pub get
# call `flutter clean` if cargo build fails
# export LLVM_HOME=/Library/Developer/CommandLineTools/usr/
cargo build --features "flutter,flutter_texture_render"
RUN_FFIGEN=Y cargo build --features "flutter,flutter_texture_render"
flutter run $@