Closed
Description
I tried this:
cargo build # anything
I expected to see this happen: The only regular files with executable bit inside target/
are the actual ELF executables.
Instead, this happened: The lock files for the incremental build also have the executable bit set (for example ./target/debug/incremental/ex1-zjfb4s71is3b/s-ge02ugy8lg-ga9xze.lock
in a cargo new
ed example).
Meta
cargo 1.63.0-nightly (3f052d8ee 2022-05-12)
Same in current rust HEAD commit.
rustc --version --verbose
:
rustc 1.63.0-nightly (c52b9c10b 2022-05-16)
binary: rustc
commit-hash: c52b9c10bfb5164015eb977ff498e0597ae63eb1
commit-date: 2022-05-16
host: x86_64-unknown-linux-musl
release: 1.63.0-nightly
LLVM version: 14.0.4