Skip to content

Commit df3ee5d

Browse files
committed
Fix code blocks in README
1 parent fe2dcc6 commit df3ee5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/c/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ cmake --install build
5252

5353
On Windows, you will need to pass the `-A` flag when configuring the project. For instance, to target ARM64:
5454

55-
```
55+
```bash
5656
cmake -S . -B build -A ARM64
5757
```
5858

5959
On other platforms you will have to specify which Rust target to use, as well as tell CMake for which architecture to compile. Here is how you would cross-compile for Linux X86 from Linux AMD64:
6060

61-
```
61+
```bash
6262
cmake -S . -B build -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=x86 -DRust_CARGO_TARGET=i686-unknown-linux-gnu
6363
```

0 commit comments

Comments
 (0)