Auto merge of #1897 - camelid:rustup, r=RalfJung
rustup cc rust-lang/rust#89612 r? `@RalfJung`
This commit is contained in:
commit
fa91a89193
@ -1 +1 @@
|
||||
25ec8273855fde2d72ae877b397e054de5300e10
|
||||
0157cc977fd71297ce73e2f249321f5ba2555d42
|
||||
|
@ -1,5 +1,5 @@
|
||||
#![feature(available_concurrency)]
|
||||
#![feature(available_parallelism)]
|
||||
|
||||
fn main() {
|
||||
assert_eq!(std::thread::available_concurrency().unwrap().get(), 1);
|
||||
assert_eq!(std::thread::available_parallelism().unwrap().get(), 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user