File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,13 @@ matrix:
66
66
- cargo build --target $TARGET
67
67
if : NOT type = pull_request
68
68
69
- # rayon-demo has huge dependencies, so just test it once
69
+ # rayon-demo has huge dependencies, so limit its testing.
70
+ # build on stable, test on nightly (because of #[bench])
71
+ - rust : stable
72
+ os : linux
73
+ env : DEMO=1
74
+ script : cargo build -p rayon-demo
75
+ if : NOT type = pull_request
70
76
- rust : nightly
71
77
os : linux
72
78
env : DEMO=1
Original file line number Diff line number Diff line change @@ -106,19 +106,16 @@ parallel.
106
106
107
107
```
108
108
> cd rayon-demo
109
- > cargo +nightly run --release -- nbody visualize
109
+ > cargo run --release -- nbody visualize
110
110
```
111
111
112
112
For more information on demos, try:
113
113
114
114
```
115
115
> cd rayon-demo
116
- > cargo +nightly run --release -- --help
116
+ > cargo run --release -- --help
117
117
```
118
118
119
- ** Note:** While Rayon is usable as a library with the stable compiler, running
120
- its demos currently requires nightly Rust.
121
-
122
119
## Other questions?
123
120
124
121
See [ the Rayon FAQ] [ faq ] .
Original file line number Diff line number Diff line change 1
1
#![ cfg_attr( test, feature( test) ) ]
2
- #![ feature( conservative_impl_trait) ]
3
2
4
3
use std:: env;
5
4
use std:: io;
You can’t perform that action at this time.
0 commit comments