ff14wed / deucalion

Injected Windows library for capturing decoded FFXIV packets
GNU General Public License v3.0
63 stars 6 forks source link

Attempting Cargo Build #20

Closed ezraek closed 1 year ago

ezraek commented 1 year ago

image

Attempting to cargo build and it keeps failing, even after restarting.

ff14wed commented 1 year ago

The retour lib that's used for hooking requires a nightly install of rust for static hooks (https://github.com/Hpmason/retour-rs#installation). I haven't yet updated the version of the retour lib, but there shouldn't be any substantial differences with the latest version.

You'll have to use rustup toolchain install nightly to install rust. Hope that helps.

ezraek commented 1 year ago

Ran the command just to ensure my Rust was all right, but still hitting that same error captured above even after rebooting, unfortunately.

ff14wed commented 1 year ago

Did you make sure that the nightly version of Rust is your active toolchain?

ezraek commented 1 year ago

I... did not know that was a thing (newbie to Rust - just was following the post). Do you have the command offhand?

ff14wed commented 1 year ago

Apologies. I forgot about this issue for a while.

This doc should explain all you need to know about nightly: https://doc.rust-lang.org/book/appendix-07-nightly-rust.html

I'm closing this issue since this should resolve it.