xxshady / altv-rust

Server-side alt:V API for Rust. Client-side via JS WASM WIP
https://crates.io/crates/altv
33 stars 5 forks source link

Fix cache invalidation of altv_internal_sdk crate #31

Open kekxx opened 2 weeks ago

kekxx commented 2 weeks ago

изображение

xxshady commented 1 day ago

seems like it only happens one time after first build

logs from $ CARGO_LOG=cargo::core::compiler::fingerprint=info cargo build

  0.235170200s  INFO prepare_target{force=false package_id=altv_internal_sdk v16.2.4 target="build-script-build"}: cargo::core::compiler::fingerprint: fingerprint dirty for altv_internal_sdk v16.2.4/RunCustomBuild/TargetInner { ..: custom_build_target("build-script-build", "C:\\Users\\xshady\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\altv_internal_sdk-16.2.4\\build.rs", Edition2021) }     
   0.235580300s  INFO prepare_target{force=false package_id=altv_internal_sdk v16.2.4 target="build-script-build"}: cargo::core::compiler::fingerprint:     dirty: FsStatusOutdated(StaleItem(ChangedFile { reference: "D:\\rust_dev\\test-altv\\target\\debug\\build\\altv_internal_sdk-480ce6f9343aa5a8\\output", reference_mtime: FileTime { seconds: 13376767405, nanos: 228439000 }, stale: "D:\\rust_dev\\test-altv\\target\\debug\\build\\altv_internal_sdk-480ce6f9343aa5a8\\out\\autocxx-build-dir\\include\\cxx.h", stale_mtime: FileTime { seconds: 13376767406, nanos: 798228000 } }))
xxshady commented 1 day ago

https://github.com/google/autocxx/issues/1408