rust/hg-core/src/lib.rs
changeset 46369 cabc5e9366c5
parent 46187 95d6f31e88db
child 46433 4b381dbbf8b7
equal deleted inserted replaced
46368:bb3a5c0df06b 46369:cabc5e9366c5
    27 pub mod revlog;
    27 pub mod revlog;
    28 pub use revlog::*;
    28 pub use revlog::*;
    29 pub mod config;
    29 pub mod config;
    30 pub mod operations;
    30 pub mod operations;
    31 pub mod utils;
    31 pub mod utils;
    32 
       
    33 // Remove this to see (potential) non-artificial compile failures. MacOS
       
    34 // *should* compile, but fail to compile tests for example as of 2020-03-06
       
    35 #[cfg(not(target_os = "linux"))]
       
    36 compile_error!(
       
    37     "`hg-core` has only been tested on Linux and will most \
       
    38      likely not behave correctly on other platforms."
       
    39 );
       
    40 
    32 
    41 use crate::utils::hg_path::{HgPathBuf, HgPathError};
    33 use crate::utils::hg_path::{HgPathBuf, HgPathError};
    42 pub use filepatterns::{
    34 pub use filepatterns::{
    43     parse_pattern_syntax, read_pattern_file, IgnorePattern,
    35     parse_pattern_syntax, read_pattern_file, IgnorePattern,
    44     PatternFileWarning, PatternSyntax,
    36     PatternFileWarning, PatternSyntax,