Skip to content

Commit 9c79b45

Browse files
committed
readme for rustlib
1 parent 864b762 commit 9c79b45

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

rust/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
`For dart file generation`
2+
`flutter_rust_bridge_codegen generate \`
3+
`--rust-input crate::api \`
4+
`--rust-root rust \`
5+
`--dart-output lib/bridge/bridge_generated.dart`
6+
7+
`For Compiling RustLib to android`
8+
`cargo ndk -t arm64-v8a -t armeabi-v7a -t x86 -t x86_64 -o ../android/main/app/src/main/jniLibs build`
9+
10+
- [ ] `these targets are not added yet`
11+
12+
`For running application`
13+
`[fvm] flutter run –flavor {production/nightly}`
14+
15+
`For Compiling/Building apk`
16+
`[fvm] flutter build apk –-flavor production`
17+
18+
* `Nightly is only for CI`

0 commit comments

Comments
 (0)