Skip to content

Commit f1ce0ec

Browse files
authored
Remove $ (#1595)
Consider removing the redundant $:s that needs to be removed when copying commands
1 parent 34eb0ce commit f1ce0ec

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Cranelift codegen backend is distributed in nightly builds on Linux, macOS a
1111
install it using Rustup, you can do that by running:
1212

1313
```bash
14-
$ rustup component add rustc-codegen-cranelift-preview --toolchain nightly
14+
rustup component add rustc-codegen-cranelift-preview --toolchain nightly
1515
```
1616

1717
Once it is installed, you can enable it with one of the following approaches:
@@ -47,16 +47,16 @@ If you want to use `cargo clif build` instead of having to specify the full path
4747
If you want to build the backend manually, you can download it from GitHub and build it yourself:
4848

4949
```bash
50-
$ git clone https://github.com/rust-lang/rustc_codegen_cranelift
51-
$ cd rustc_codegen_cranelift
52-
$ ./y.sh build
50+
git clone https://github.com/rust-lang/rustc_codegen_cranelift
51+
cd rustc_codegen_cranelift
52+
./y.sh build
5353
```
5454

5555
To run the test suite replace the last command with:
5656

5757
```bash
58-
$ ./y.sh prepare # only needs to be run the first time
59-
$ ./test.sh
58+
./y.sh prepare # only needs to be run the first time
59+
./test.sh
6060
```
6161

6262
For more docs on how to build and test see [build_system/usage.txt](build_system/usage.txt) or the help message of `./y.sh`.
@@ -90,7 +90,7 @@ Assuming `$cg_clif_dir` is the directory you cloned this repo into and you follo
9090
In the directory with your project (where you can do the usual `cargo build`), run:
9191

9292
```bash
93-
$ $cg_clif_dir/dist/cargo-clif build
93+
$cg_clif_dir/dist/cargo-clif build
9494
```
9595

9696
This will build your project with rustc_codegen_cranelift instead of the usual LLVM backend.

0 commit comments

Comments
 (0)