comparison rust/hg-core/src/lib.rs @ 44586:f8427841c8fc

merge with stable
author Yuya Nishihara <yuya@tcha.org>
date Fri, 20 Mar 2020 17:18:14 +0900
parents ece43c79333e df5dfee8cfb4
children 9f96beb9bafe
comparison
equal deleted inserted replaced
44585:2ec6160449aa 44586: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,