File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 18
18
19
19
install :
20
20
# Install Rust
21
- - curl -sSf -o rustup-init.exe https://win.rustup.rs/
21
+ - curl -sSf --retry 3 - o rustup-init.exe https://win.rustup.rs/
22
22
- rustup-init.exe -y --default-host %TARGET% --default-toolchain stable
23
23
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
24
24
# Install "master" toolchain
Original file line number Diff line number Diff line change @@ -73,9 +73,7 @@ Now you can run your project in Miri:
73
73
3 . If you have a binary project, you can run it through Miri using ` cargo miri run ` .
74
74
75
75
The first time you run Miri, it will perform some extra setup and install some
76
- dependencies. It will ask you for confirmation before installing anything. If
77
- you run Miri on CI, run ` cargo miri setup ` to avoid getting interactive
78
- questions.
76
+ dependencies. It will ask you for confirmation before installing anything.
79
77
80
78
You can pass arguments to Miri after the first ` -- ` , and pass arguments to the
81
79
interpreted program or test suite after the second ` -- ` . For example, `cargo
@@ -115,6 +113,9 @@ cargo miri setup
115
113
cargo miri test -- -- -Zunstable-options --exclude-should-panic
116
114
```
117
115
116
+ We use ` cargo miri setup ` to avoid getting interactive questions about the extra
117
+ setup needed for Miri.
118
+
118
119
### Common Problems
119
120
120
121
When using the above instructions, you may encounter a number of confusing compiler
You can’t perform that action at this time.
0 commit comments