You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ip1995
cargo-ui tests: check that <dir>/src exists before processing test
I forgot that I had fixed this in a PR I closed some days ago (rust-lang#5643).
Before this change, cargo UI tests could fail when switching between branches if the previous branch had a test that the current branch does not have. The directory is not removed when switching because an ignored `Cargo.lock` file exists, and the code was trying to reach `$DIR/src` unconditionally.
This change will just skip a directory that has no `src` subdirectory.
changelog: none
It seems like an attempt was made to fix this in the past, but it's currently present:
This won't fly on systems like Fedora that use SELinux since it won't allow the binary to run with the default policies.
Clearing the executable stack with
execstack
still leaves a working set of binaries, so it's definitely not required.The text was updated successfully, but these errors were encountered: