Skip to content

Commit

Permalink
Merge pull request #157 from keystone-enclave/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dayeol authored Feb 27, 2020
2 parents cf13195 + 206563d commit d1aeef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Configure and build ``bbl``. The SM can be built by additional flags ``--enable-

make

The Keystone Security Monitor also has an experimental port to the `Rust programming language <https://rust-lang.org>`_. If you would like to try this version of the SM, specify ``--enale-sm_rs`` instead of using ``--enable-sm``.
The Keystone Security Monitor also has an experimental port to the `Rust programming language <https://rust-lang.org>`_. If you would like to try this version of the SM, specify ``--enable-sm_rs`` instead of using ``--enable-sm``.

You may also wish to compile the SM with optimizations enabled. To do this, use the configure flag ``--enable-opt=2``.

Expand Down
3 changes: 2 additions & 1 deletion docs/source/Getting-Started/Install-Dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ Ubuntu
You need Git version >= 2.11.0 to use ``./fast-setup.sh``, because the script uses
``--shallow-clone`` for faster submodule initializtion.

In order to use the Rust version of the security monitor, you will also need to install `rustup <https://rustup.rs>_` and `llvm-9 <https://apt.llvm.org/>_` (available in Ubuntu repositories in versions 18.04 and above). Then, run the following commands:
In order to use the Rust version of the security monitor, you will also need to install `rustup <https://rustup.rs>`_ and `llvm-9 <https://apt.llvm.org/>`_ (available in Ubuntu repositories in versions 18.04 and above). Then, run the following commands:

::
rustup toolchain install nightly
rustup +nightly component add rust-src
rustup +nightly target add riscv64gc-unknown-none-elf
Expand Down

0 comments on commit d1aeef1

Please sign in to comment.