Skip to content

Commit dce155c

Browse files
authored
[tools] Remove now-obsolete rm Cargo.lock (#2916)
This was made obsolete once we started vendoring our dependencies (#2883). gherrit-pr-id: Ge64eead3ff76fbb4564b48248fcd713b51711573
1 parent 8f361d9 commit dce155c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tools/update-expected-test-output.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,14 @@
88
# This file may not be copied, modified, or distributed except according to
99
# those terms.
1010

11-
# Update the `.stderr` reference files used to validate our UI tests.
12-
13-
set -e
11+
set -eo pipefail
1412

13+
# Update the `.stderr` reference files used to validate our UI tests.
1514
TRYBUILD=overwrite ./cargo.sh +nightly test ui --test trybuild -p zerocopy --all-features
1615
TRYBUILD=overwrite ./cargo.sh +stable test ui --test trybuild -p zerocopy --features=__internal_use_only_features_that_work_on_stable
17-
# For developers using Rust Analyzer, it's often the case that Rust Analyzer has
18-
# chosen versions of dependencies (especially syn) which have an MSRV higher than
19-
# our own. Doing `rm Cargo.lock` here permits `./cargo.sh +msrv` to choose its own
20-
# versions of these crates that have a lower MSRV.
21-
rm Cargo.lock && TRYBUILD=overwrite ./cargo.sh +msrv test ui --test trybuild -p zerocopy --features=__internal_use_only_features_that_work_on_stable
16+
TRYBUILD=overwrite ./cargo.sh +msrv test ui --test trybuild -p zerocopy --features=__internal_use_only_features_that_work_on_stable
2217

2318
TRYBUILD=overwrite ./cargo.sh +all test ui --test trybuild -p zerocopy-derive
2419

2520
# Update zerocopy-derive's `.expected.rs` files used to validate derive output.
26-
2721
ZEROCOPY_BLESS=1 ./cargo.sh +nightly test -p zerocopy-derive --lib

0 commit comments

Comments
 (0)