File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ what we have for now.
11
11
12
12
- rustc (the Rust compiler).
13
13
- mdbook (use ` cargo install mdbook ` to install it).
14
+ - rust nightly (you would be required to set your Rust version to the nightly version to make sure all tests pass)
14
15
15
16
## Build steps
16
17
@@ -28,7 +29,22 @@ Change the directory to the downloaded repository:
28
29
``` sh
29
30
cd reference
30
31
```
31
- Run the following command to test the code snippets to catch compilation errors:
32
+
33
+ To run the tests, you would need to set the Rust version to the nightly release. You can do this by executing the following command:
34
+
35
+ ``` shell
36
+ rustup override set nightly
37
+ ```
38
+
39
+ This will set the nightly version only for your the current project.
40
+
41
+ If you wish to set Rust nightly for all your projects, you can run the command:
42
+
43
+ ``` shell
44
+ rustup default nightly
45
+ ```
46
+
47
+ Now, run the following command to test the code snippets to catch compilation errors:
32
48
33
49
``` shell
34
50
mdbook test
You can’t perform that action at this time.
0 commit comments