mirror of
https://github.com/selfxyz/self.git
synced 2026-01-23 05:28:02 -05:00
Infos on compilation in README.md
This commit is contained in:
3
.idea/.gitignore
generated
vendored
Normal file
3
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/passport-sbt.iml" filepath="$PROJECT_DIR$/.idea/passport-sbt.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
9
.idea/passport-sbt.iml
generated
Normal file
9
.idea/passport-sbt.iml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -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',
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user