Skip to content

Commit 806d68f

Browse files
RUST-2173 Check in Cargo.lock (#532)
1 parent fdbf863 commit 806d68f

File tree

8 files changed

+3055
-4
lines changed

8 files changed

+3055
-4
lines changed

.evergreen/MSRV-Cargo.toml.diff

Whitespace-only changes.

.evergreen/compile-only.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ if [ ! -z "$TARGET" ]; then
1717
TARGET="--target=$TARGET"
1818
fi
1919

20-
# pin necessary dependencies when checking msrv compilation
20+
# Generate a new lockfile with MSRV-compatible dependencies.
2121
if [ "$MSRV" = "true" ]; then
22-
patch Cargo.toml .evergreen/MSRV-Cargo.toml.diff
22+
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo +nightly -Zmsrv-policy generate-lockfile
2323
fi
2424

2525
rustup run $RUST_VERSION cargo build $TARGET

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
target
2-
Cargo.lock
32
.vscode
43
.idea
54
*~

0 commit comments

Comments
 (0)