From 5ffdc5174238fab5ed3c596105ab9b4345342f72 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 27 Feb 2018 12:41:43 -0800 Subject: [PATCH] Fix formatting of no_std instructions in README.rst. --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 621217f888..0186bc57f8 100644 --- a/README.rst +++ b/README.rst @@ -66,11 +66,15 @@ default, and enable the `no_std` feature. For example, to build `cretonne`: +.. code-block:: sh + cd lib/cretonne cargo build --no-default-features --features no_std Or, when using `cretonne` as a dependency (in Cargo.toml): +.. code-block:: + [dependency.cretonne] ... default-features = false