We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31237ff commit 0e0dcb7Copy full SHA for 0e0dcb7
contrib/test.sh
@@ -19,6 +19,13 @@ cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abno
19
# Make all cargo invocations verbose
20
export CARGO_TERM_VERBOSE=true
21
22
+# Pin dependencies as required if we are using MSRV toolchain.
23
+if cargo --version | grep "1\.48"; then
24
+ # 1.0.157 uses syn 2.0 which requires edition 2021
25
+ cargo update -p serde_json --precise 1.0.99
26
+ cargo update -p serde --precise 1.0.156
27
+fi
28
+
29
# Defaults / sanity checks
30
cargo build --all
31
cargo test --all
0 commit comments