Skip to content

Commit 957fe0b

Browse files
author
xtexChooser
authored
Update custom.md
1 parent 48316df commit 957fe0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/rustc/src/targets/custom.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ If you'd like to build for a target that is not yet supported by `rustc`, you ca
55
are JSON. To see the JSON for the host target, you can run:
66

77
```bash
8-
$ rustc +nightly -Z unstable-options --print target-spec-json
8+
rustc +nightly -Z unstable-options --print target-spec-json
99
```
1010

1111
To see it for a different target, add the `--target` flag:
1212

1313
```bash
14-
$ rustc +nightly -Z unstable-options --target=wasm32-unknown-unknown --print target-spec-json
14+
rustc +nightly -Z unstable-options --target=wasm32-unknown-unknown --print target-spec-json
1515
```
1616

1717
To use a custom target, see the (unstable) [`build-std` feature](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-std) of `cargo`.

0 commit comments

Comments
 (0)