cargo rustc --release -p hobbes-chess-engine -- -C target-cpu=native --emit link=Hobbes-27AD2555
Compiling arrayvec v0.7.4
Compiling hobbes-chess-engine v0.1.0 (C:\Users\liamt\AppData\Local\Temp\tmp6_8buo3s\Hobbes\Hobbes-tmp)
error[E0425]: cannot find function `size_of` in this scope
--> src\tt.rs:83:44
|
83 | let size = size_mb * 1024 * 1024 / size_of::<TTEntry>();
| ^^^^^^^
|
help: a local variable with a similar name exists
|
83 | let size = size_mb * 1024 * 1024 / size_mb::<TTEntry>();
| ~~~~~~~
help: consider importing one of these items
|
1 + use core::mem::size_of;
|
1 + use std::mem::size_of;
|
error[E0425]: cannot find function `size_of` in this scope
--> src\tt.rs:89:44
|
89 | let size = size_mb * 1024 * 1024 / size_of::<TTEntry>();
| ^^^^^^^
|
help: a local variable with a similar name exists
|
89 | let size = size_mb * 1024 * 1024 / size_mb::<TTEntry>();
| ~~~~~~~
help: consider importing one of these items
|
1 + use core::mem::size_of;
|
1 + use std::mem::size_of;
|
For more information about this error, try `rustc --explain E0425`.
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 2 previous errors
make: *** [Makefile:8: openbench] Error 101