cargo rustc --release -- -C target-cpu=native --emit link=Reckless-57D8B9D0-8C0E784E
Compiling proc-macro2 v1.0.95
Compiling unicode-ident v1.0.18
Compiling glob v0.3.2
Compiling prettyplease v0.2.32
Compiling libc v0.2.175
Compiling clang-sys v1.8.1
Compiling memchr v2.7.4
Compiling cfg-if v1.0.0
Compiling regex-syntax v0.8.5
Compiling minimal-lexical v0.2.1
Compiling nom v7.1.3
Compiling regex-automata v0.4.9
Compiling libloading v0.8.6
Compiling bindgen v0.71.1
Compiling either v1.15.0
Compiling shlex v1.3.0
Compiling itertools v0.13.0
Compiling regex v1.11.1
Compiling cexpr v0.6.0
Compiling quote v1.0.40
Compiling bitflags v2.9.0
Compiling syn v2.0.101
Compiling log v0.4.27
Compiling rustc-hash v2.1.1
Compiling cc v1.2.22
Compiling reckless v0.10.0-dev (/tmp/tmpzsqh6ejx/Reckless/Reckless-tmp)
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src/nnue.rs:292:42
|
292 | static PARAMETERS: Parameters = unsafe { std::mem::transmute(*include_bytes!(env!("MODEL"))) };
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 7232]` (57856 bits)
= note: target type: `Parameters` (507056640 bits)
For more information about this error, try `rustc --explain E0512`.
error: could not compile `reckless` (bin "reckless") due to 1 previous error
make: *** [Makefile:24: rule] Error 101