diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 000000000..26d33521a --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 000000000..4e2cdf6b8 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/passport-sbt.iml b/.idea/passport-sbt.iml new file mode 100644 index 000000000..d6ebd4805 --- /dev/null +++ b/.idea/passport-sbt.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 000000000..35eb1ddfb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/App.tsx b/app/App.tsx index 299a985cb..79163d692 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -197,12 +197,12 @@ function App(): JSX.Element { if (err) { console.error(err); setProofResult( - err.toString() + ' time elapsed: ' + (end - start) + 'ms', + "res:" + err.toString() + ' time elapsed: ' + (end - start) + 'ms', ); } else { console.log(res); setProofResult( - res.toString() + ' time elapsed: ' + (end - start) + 'ms', + "res:" + res.toString() + ' time elapsed: ' + (end - start) + 'ms', ); } }); diff --git a/app/README.md b/app/README.md index 6d8f97e29..e1823838a 100644 --- a/app/README.md +++ b/app/README.md @@ -4,6 +4,16 @@ To build libhalo2_passport.so, run in /script: ``` It will cross-compile using the config in app/android/react-native-passport-reader/android/build.gradle +You'll potentially need to set the rust-toolchain rust version as global default. Example: +``` +rustup default 1.67.0 +``` +And install the targets like: +``` +rustup target add aarch64-linux-android +``` + + Then: yarn start => a or i