fix: Hash Cargo build environment inputs (#13348)
## Why
Cargo and common Rust build scripts consume environment variables that
can change compiler selection, profiles, target configuration, native
toolchains, and final artifacts. Omitting those inputs allowed different
builds to share a Turborepo task hash.
## What
Cargo tasks now derive hashes from standard Cargo
compiler/build/profile/target variables and cc-rs compiler, archiver,
sysroot, and SDK settings. Unrelated Cargo network and credential
configuration remains excluded, while project-specific build-script
variables remain explicit task configuration.
## How
Added end-to-end coverage proving representative exact and wildcard
variables change the task hash while a network-only setting does not.
Verified 316 repository tests, 15 Cargo E2Es, workspace lint,
formatting, pre-push hooks, and independent code/documentation review.