rust/hg-core/src/lib.rs
changeset 44577 f8427841c8fc
parent 44562 ece43c79333e
parent 44476 df5dfee8cfb4
child 44870 9f96beb9bafe
equal deleted inserted replaced
44576:2ec6160449aa 44577:f8427841c8fc
    24 pub mod revlog;
    24 pub mod revlog;
    25 pub use revlog::*;
    25 pub use revlog::*;
    26 #[cfg(feature = "with-re2")]
    26 #[cfg(feature = "with-re2")]
    27 pub mod re2;
    27 pub mod re2;
    28 pub mod utils;
    28 pub mod utils;
       
    29 
       
    30 // Remove this to see (potential) non-artificial compile failures. MacOS
       
    31 // *should* compile, but fail to compile tests for example as of 2020-03-06
       
    32 #[cfg(not(target_os = "linux"))]
       
    33 compile_error!(
       
    34     "`hg-core` has only been tested on Linux and will most \
       
    35      likely not behave correctly on other platforms."
       
    36 );
    29 
    37 
    30 use crate::utils::hg_path::{HgPathBuf, HgPathError};
    38 use crate::utils::hg_path::{HgPathBuf, HgPathError};
    31 pub use filepatterns::{
    39 pub use filepatterns::{
    32     parse_pattern_syntax, read_pattern_file, IgnorePattern,
    40     parse_pattern_syntax, read_pattern_file, IgnorePattern,
    33     PatternFileWarning, PatternSyntax,
    41     PatternFileWarning, PatternSyntax,