Skip to content

Commit 0568a88

Browse files
author
Yucong Sun
committed
Copying rust client and change it to use libra-dev in someplaces
1 parent 09c57a1 commit 0568a88

19 files changed

+5889
-1
lines changed

build.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ set -euo pipefail
33

44
# Build libra-dev first
55
cd libra-dev
6+
cargo build
67
cargo test
8+
cd ..
9+
10+
# Then build rust client
11+
cd rust
712
cargo build
13+
cargo test
814
cd ..
915

10-
# Then build everything else
16+
# C Stuff
1117
rm -rf build
1218
mkdir build
1319
cd build

libra-dev/include/data.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
extern "C" {
66
#endif
77

8+
#include <stddef.h>
89
#include <stdint.h>
910
#include <stdbool.h>
1011

rust/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/target
2+
3+
# Client stuff
4+
/client.mnemonic

0 commit comments

Comments
 (0)