summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Fougner <fougner89@gmail.com>2023-11-05 01:07:01 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-04 20:29:28 -0400
commit26efa5cf2eb7b20777eaa512dbd9496ac76eda79 (patch)
treef2be6f0c56588f58660bb22d960d9b1b473c5125 /Makefile
parent13a94807226ac778489a1c2c8cf9f9ecc3684718 (diff)
downgrade rust deps to compile for MSRV
- add helper for cargo update, whilst respecting MSRV Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cbed5991..73621e0b 100644
--- a/Makefile
+++ b/Makefile
@@ -186,6 +186,11 @@ bcachefs-principles-of-operation.pdf: doc/bcachefs-principles-of-operation.tex
doc: bcachefs-principles-of-operation.pdf
+.PHONY: cargo-update-msrv
+cargo-update-msrv:
+ cargo +nightly generate-lockfile --manifest-path rust-src/Cargo.toml -Zmsrv-policy
+ cargo +nightly generate-lockfile --manifest-path rust-src/bch_bindgen/Cargo.toml -Zmsrv-policy
+
.PHONY: update-bcachefs-sources
update-bcachefs-sources:
git rm -rf --ignore-unmatch libbcachefs