sysmaster/backport-fix-fstab-use-fixed-inotify-version-0.10.0-to-be-com.patch
licunlong 0c7d548f94 sync patches from upstream
(cherry picked from commit e23ebb83bd7672e4dc8da68a9a8c73fe6e016341)
2023-06-19 10:39:49 +08:00

29 lines
894 B
Diff

From 71b0283e4c34078497c4aced37234949d833f45c Mon Sep 17 00:00:00 2001
From: chenjiayi <chenjiayi22@huawei.com>
Date: Wed, 7 Jun 2023 00:40:37 +0800
Subject: [PATCH] fix(fstab): use fixed inotify version 0.10.0 to be compatible
with rustc 1.60
Latest inotify crate 0.10.1 requires rustc 1.63.0. Previously we didn't
state the minimum version number of inotify, which lead to cargo
automatically use the latest version and fails to build.
---
exts/fstab/Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exts/fstab/Cargo.toml b/exts/fstab/Cargo.toml
index 3445698..59ba4c4 100644
--- a/exts/fstab/Cargo.toml
+++ b/exts/fstab/Cargo.toml
@@ -6,6 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-inotify = "0.10"
+inotify = "=0.10.0"
log = "0.4"
nix = "0.24"
--
2.30.2