File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 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.
1111
1212- rustc (the Rust compiler).
1313- 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)
1415
1516## Build steps
1617
@@ -28,7 +29,22 @@ Change the directory to the downloaded repository:
2829``` sh
2930cd reference
3031```
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:
3248
3349``` shell
3450mdbook test
You can’t perform that action at this time.
0 commit comments