diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-11-04 19:05:50 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-11-04 19:05:50 +0200 |
commit | 3f76beef1faed6dbe86e8dfc41bc7325ed7e0286 (patch) | |
tree | 9607a3cfc6dc164a7d874e4e8f2f25b982bc76fb /src/main.rs | |
parent | 2f882127dddbdff6d714f38a66fcf48b2ce460cb (diff) |
Add error message in case of missing procfs
Closes #11
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index c103ee8..21796b8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -32,6 +32,8 @@ use std::sync::{ }; use std::time::Duration; +pub const PROC_FS_ERROR_STR: &str = "/proc/ filesystem not found, are you running this on linux?"; + //#[allow(dead_code)] mod text_processing; pub use crate::text_processing::*; |