This commit is contained in:
Noah Lev 2021-10-07 11:52:11 -07:00
parent f3af24096e
commit e751c7b04e
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
25ec8273855fde2d72ae877b397e054de5300e10
0157cc977fd71297ce73e2f249321f5ba2555d42

View File

@ -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);
}