cargo rustc --release -- --emit link=WakWak-0F8A4094-E88D80F0
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling libc v0.2.189
Compiling thiserror v2.0.20
Compiling zerocopy v0.8.56
Compiling wakwak v0.11.0 (/tmp/tmp8z2qdzab/WakWak/WakWak-tmp)
Compiling arrayvec v0.7.8
Compiling colored v3.1.1
Compiling syn v3.0.5
Compiling atomic-wait v1.1.0
Compiling thiserror-impl v2.0.20
Compiling enum-map-derive v1.0.1
Compiling enum-map v3.1.0
error[E0080]: transmuting from 49408-byte type to 98752-byte type: `[u8; 49408]` -> `Network`
--> src/nnue/mod.rs:15:14
|
15 | unsafe { std::mem::transmute(*include_bytes!(concat!(env!("OUT_DIR"), "/wakwak.nnue"))) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `nnue::NET` failed here
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src/nnue/mod.rs:15:14
|
15 | unsafe { std::mem::transmute(*include_bytes!(concat!(env!("OUT_DIR"), "/wakwak.nnue"))) };
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 49408]` (395264 bits)
= note: target type: `Network` (790016 bits)
Some errors have detailed explanations: E0080, E0512.
For more information about an error, try `rustc --explain E0080`.
error: could not compile `wakwak` (bin "wakwak") due to 2 previous errors
make: *** [Makefile:13: native] Error 101