From 16acf602cfe3e837074789e9653c3d50c5247bca Mon Sep 17 00:00:00 2001 From: WGB5445 <919603023@qq.com> Date: Tue, 19 Sep 2023 01:13:22 +0000 Subject: [PATCH] [Fix Windows Build] Add Error Type In check_open_fds_limit To Fix windows build error (#828) * Add Error Type In check_open_fds_limit * Fix Error Type In check_open_fds_limit --- moveos/moveos-commons/moveos-common/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moveos/moveos-commons/moveos-common/src/utils.rs b/moveos/moveos-commons/moveos-common/src/utils.rs index 18d4a717f8..bccf8fa1e3 100644 --- a/moveos/moveos-commons/moveos-common/src/utils.rs +++ b/moveos/moveos-commons/moveos-common/src/utils.rs @@ -88,6 +88,6 @@ pub fn check_open_fds_limit(max_files: u64) -> Result<(), Error> { } #[cfg(not(unix))] -pub fn check_open_fds_limit(_max_files: u64) -> Result<(), ConfigError> { +pub fn check_open_fds_limit(_max_files: u64) -> Result<(), Error> { Ok(()) }