Skip to content

Commit

Permalink
Remove $ prompot from start of some commands.
Browse files Browse the repository at this point in the history
It's used inconsistently, and removing it makes copy/paste easier.
  • Loading branch information
nnethercote committed Feb 4, 2024
1 parent d33766a commit 2577b11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/build-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ such as AVX SIMD instructions for x86-64 CPUs.
To request these instructions from the command line, use the `-C
target-cpu=native` flag. For example:
```bash
$ RUSTFLAGS="-C target-cpu=native" cargo build --release
RUSTFLAGS="-C target-cpu=native" cargo build --release
```

Alternatively, to request these instructions from a [`config.toml`] file (for
Expand Down Expand Up @@ -298,7 +298,7 @@ linker than the default one.
One option is [lld], which is available on Linux and Windows. To specify lld
from the command line, use the `-C link-arg=-fuse-ld=lld` flag. For example:
```bash
$ RUSTFLAGS="-C link-arg=-fuse-ld=lld" cargo build --release
RUSTFLAGS="-C link-arg=-fuse-ld=lld" cargo build --release
```

[lld]: https://lld.llvm.org/
Expand Down Expand Up @@ -334,7 +334,7 @@ If you use nightly Rust, you can enable the experimental [parallel front-end].

You can do that by adding `-Zthreads=N` to RUSTFLAGS, for example:
```bash
$ RUSTFLAGS="-Zthreads=8" cargo build --release
RUSTFLAGS="-Zthreads=8" cargo build --release
```

Alternatively, to request these instructions from a [`config.toml`] file (for
Expand Down
2 changes: 1 addition & 1 deletion src/profiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ v0 format.
To use the v0 format from the command line, use the `-C
symbol-mangling-version=v0` flag. For example:
```bash
$ RUSTFLAGS="-C symbol-mangling-version=v0" cargo build --release
RUSTFLAGS="-C symbol-mangling-version=v0" cargo build --release
```

Alternatively, to request these instructions from a [`config.toml`] file (for
Expand Down

0 comments on commit 2577b11

Please sign in to comment.