Skip to content

Commit

Permalink
[Fix Windows Build] Add Error Type In check_open_fds_limit To Fix win…
Browse files Browse the repository at this point in the history
…dows build error (#828)

* Add Error Type In check_open_fds_limit

* Fix Error Type In check_open_fds_limit
  • Loading branch information
WGB5445 authored Sep 19, 2023
1 parent b8d7976 commit 16acf60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moveos/moveos-commons/moveos-common/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

0 comments on commit 16acf60

Please sign in to comment.