You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i copied C:\Users\Downloads\partial-eth-key-cracker-master\src\cargo.toml and lock files and run the command
after installing rust for windows
cargo run --bin other
after completed i got this error
For more information about this error, try rustc --explain E0512.
error: could not compile socket2 (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
C:\Users\Downloads\Compressed\partial-eth-key-cracker-master\src>rustc --explain E0512
Transmute with two differently sized types was attempted.
Erroneous code example:
fn takes_u8(_: u8) {}
fn main() {
unsafe { takes_u8(::std::mem::transmute(0u16)); }
// error: cannot transmute between types of different sizes,
// or dependently-sized types
}
Please use types with same size or use the expected type directly. Example:
i copied C:\Users\Downloads\partial-eth-key-cracker-master\src\cargo.toml and lock files and run the command
after installing rust for windows
cargo run --bin other
after completed i got this error
Compiling vcpkg v0.2.8
Compiling tokio-udp v0.1.5
Compiling tokio-tcp v0.1.3
Compiling openssl-sys v0.9.53
Compiling tokio-timer v0.2.12
Compiling crossbeam-queue v0.1.2
Compiling socket2 v0.3.11
Compiling num-bigint v0.2.3
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> C:\Users\.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.3.11\src\sockaddr.rs:156:9
|
156 | mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type:
SocketAddrV4
(48 bits)= note: target type:
SOCKADDR_IN
(128 bits)For more information about this error, try
rustc --explain E0512
.error: could not compile
socket2
(lib) due to previous errorwarning: build failed, waiting for other jobs to finish...
C:\Users\Downloads\Compressed\partial-eth-key-cracker-master\src>rustc --explain E0512
Transmute with two differently sized types was attempted.
Erroneous code example:
Please use types with same size or use the expected type directly. Example:
How to run this on Windows
The text was updated successfully, but these errors were encountered: