From 495ffad867e8d7a9d8c1b2086cd91ccfdb46ba53 Mon Sep 17 00:00:00 2001 From: Jason White Date: Tue, 29 Nov 2022 15:56:13 -0800 Subject: [PATCH] Fix README commands being treated as Rust code Summary: Fixes the following errors: ``` ---- src/lib.rs - (line 55) stdout ---- error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `apt` --> src/lib.rs:56:6 | 3 | sudo apt install pkg-config libunwind-devel | ^^^ expected one of 8 possible tokens error: aborting due to previous error Couldn't compile the test. ---- src/lib.rs - (line 61) stdout ---- error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `test` --> src/lib.rs:62:7 | 3 | cargo test -- --test-threads=1 | ^^^^ expected one of 8 possible tokens error: aborting due to previous error Couldn't compile the test. ---- src/lib.rs - (line 66) stdout ---- error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `reverie` --> src/lib.rs:67:4 | 4 | cd reverie-examples | ^^^^^^^ expected one of 8 possible tokens error: aborting due to previous error ``` Reviewed By: rrnewton Differential Revision: D41588323 fbshipit-source-id: 46d55e81f741ac3b36a25e21291b00849600b7f1 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7d23c63..2cd93d4 100644 --- a/README.md +++ b/README.md @@ -43,18 +43,18 @@ invocations. ## Building and Testing Reverie needs the following system-level dependencies: -``` +```text sudo apt install pkg-config libunwind-devel ``` (These are required to get backtraces from the guest process.) To test, run: -``` +```text cargo test -- --test-threads=1 ``` To run the `strace` example: -``` +```text cd reverie-examples cargo run --bin strace -- ls ```