IceDynamix / reliquary-archiver

tool to create a relic export from network packets of a certain turn-based anime game
MIT License
203 stars 19 forks source link

Error in building reliquary-archiver(build) #75

Closed TrojanHorse-bot closed 3 hours ago

TrojanHorse-bot commented 3 hours ago

I get an error at this step.

Compiling reliquary-archiver v0.1.13 (/home/abel/Downloads/reliquary-archiver-0.1.13) Building [=======================> ] 142/145: reliquary-archiver(build)

After changing Cargo.toml manually to reliquary lib v. 5.1.0:

error: unsupported output in build script of reliquary-archiver v0.1.13 (/home/abel/Downloads/reliquary-archiver-0.1.13): cargo::rerun-if-changed=Cargo.toml Found a cargo::key=value build directive which is reserved for future use. Either change the directive to cargo:key=value syntax (note the single :) or upgrade your version of Rust. See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs.

My rust version:

rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)

TrojanHorse-bot commented 3 hours ago

Fixed by changing the following lines to a single ":" in reliquary-archiver-0.1.13/build.rs

println!("cargo::rerun-if-changed=Cargo.toml");
println!("cargo::rerun-if-changed=Cargo.lock");

to

println!("cargo:rerun-if-changed=Cargo.toml");
println!("cargo:rerun-if-changed=Cargo.lock");