Skip to content

Commit efcc39c

Browse files
author
Miller
authored
change bash to sh
1 parent e3cbdc8 commit efcc39c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/linkage.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ feature. These target features are typically configured from the command line
151151
via flags to the compiler itself. For example to enable a static runtime you
152152
would execute:
153153

154-
```bash
154+
```sh
155155
rustc -C target-feature=+crt-static foo.rs
156156
```
157157

158158
whereas to link dynamically to the C runtime you would execute:
159159

160-
```bash
160+
```sh
161161
rustc -C target-feature=-crt-static foo.rs
162162
```
163163

@@ -206,7 +206,7 @@ To use this feature locally, you typically will use the `RUSTFLAGS` environment
206206
variable to specify flags to the compiler through Cargo. For example to compile
207207
a statically linked binary on MSVC you would execute:
208208

209-
```bash
209+
```sh
210210
RUSTFLAGS='-C target-feature=+crt-static' cargo build --target x86_64-pc-windows-msvc
211211
```
212212

0 commit comments

Comments
 (0)