Skip to content

Commit 79d1b68

Browse files
authored
Correct install instructions for compiling from source (#950)
Adds the `-r` flag to the cargo build command to ensure the following step that checks for a successful build runs correctly. Currently a debug build is produced and the following command attempts to run a release version of the code that has never been built. Also adds instructions to change directories into the Fe repository directory before attempting to build.
1 parent 190ac03 commit 79d1b68

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/src/user-guide/installation.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,16 @@ sudo apt-get update &&\
6464
apt-get install cmake
6565
```
6666

67+
Navigate to the folder containing the Fe source code.
68+
69+
```sh
70+
cd fe
71+
```
72+
6773
Now, use Rust to build the Fe binary. To run Fe, you need to build using `solc-backend`.
6874

6975
```sh
70-
cargo build --feature solc-backend
76+
cargo build -r --feature solc-backend
7177
```
7278

7379
You will now find your Fe binary in `/target/release`. Check the build with:

0 commit comments

Comments
 (0)