Fix formatting of no_std instructions in README.rst.
This commit is contained in:
@@ -66,11 +66,15 @@ default, and enable the `no_std` feature.
|
|||||||
|
|
||||||
For example, to build `cretonne`:
|
For example, to build `cretonne`:
|
||||||
|
|
||||||
|
.. code-block:: sh
|
||||||
|
|
||||||
cd lib/cretonne
|
cd lib/cretonne
|
||||||
cargo build --no-default-features --features no_std
|
cargo build --no-default-features --features no_std
|
||||||
|
|
||||||
Or, when using `cretonne` as a dependency (in Cargo.toml):
|
Or, when using `cretonne` as a dependency (in Cargo.toml):
|
||||||
|
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
[dependency.cretonne]
|
[dependency.cretonne]
|
||||||
...
|
...
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|||||||
Reference in New Issue
Block a user