Skip to content

Commit 529feef

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

20 files changed

+5890
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
command: |
1212
sudo sh -c 'echo "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list'
1313
sudo apt-get update
14-
sudo apt-get -t stretch-backports install cmake python3-dev python3-venv
14+
sudo apt-get -t stretch-backports install cmake python3-dev python3-venv clang llvm
1515
- run:
1616
name: Build everything
1717
command: |

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)