Skip to content

Commit

Permalink
Correct install instructions for compiling from source (#950)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
keyneom authored Nov 15, 2023
1 parent 190ac03 commit 79d1b68
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/src/user-guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,16 @@ sudo apt-get update &&\
apt-get install cmake
```

Navigate to the folder containing the Fe source code.

```sh
cd fe
```

Now, use Rust to build the Fe binary. To run Fe, you need to build using `solc-backend`.

```sh
cargo build --feature solc-backend
cargo build -r --feature solc-backend
```

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

0 comments on commit 79d1b68

Please sign in to comment.