Skip to content

Commit e47ed02

Browse files
authored
Merge pull request #827 from milrope/patch-1
change bash to sh as shell code blocks language indentifier
2 parents e182889 + efcc39c commit e47ed02

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ what we have for now.
1717
First, go to the repository folder and test the code snippets to catch
1818
compilation errors:
1919

20-
```bash
20+
```sh
2121
cd reference
2222
mdbook test
2323
```
2424

2525
And then generate the book:
2626

27-
```bash
27+
```sh
2828
mdbook build
2929
```
3030

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)