mirror of
https://github.com/facebookexperimental/reverie.git
synced 2024-10-23 04:46:36 +00:00
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
This commit is contained in:
parent
7b7c638449
commit
495ffad867
1 changed files with 3 additions and 3 deletions
|
@ -43,18 +43,18 @@ invocations.
|
||||||
## Building and Testing
|
## Building and Testing
|
||||||
|
|
||||||
Reverie needs the following system-level dependencies:
|
Reverie needs the following system-level dependencies:
|
||||||
```
|
```text
|
||||||
sudo apt install pkg-config libunwind-devel
|
sudo apt install pkg-config libunwind-devel
|
||||||
```
|
```
|
||||||
(These are required to get backtraces from the guest process.)
|
(These are required to get backtraces from the guest process.)
|
||||||
|
|
||||||
To test, run:
|
To test, run:
|
||||||
```
|
```text
|
||||||
cargo test -- --test-threads=1
|
cargo test -- --test-threads=1
|
||||||
```
|
```
|
||||||
|
|
||||||
To run the `strace` example:
|
To run the `strace` example:
|
||||||
```
|
```text
|
||||||
cd reverie-examples
|
cd reverie-examples
|
||||||
cargo run --bin strace -- ls
|
cargo run --bin strace -- ls
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue