##// END OF EJS Templates
hg-core: add a compilation error if trying to compile outside of Linux...
Raphaël Gomès -
r45029:5a50e8c3 stable draft
parent child Browse files
Show More
@@ -23,6 +23,14 b' pub mod revlog;'
23 pub use revlog::*;
23 pub use revlog::*;
24 pub mod utils;
24 pub mod utils;
25
25
26 /// Remove this to see (potential) non-artificial compile failures. MacOS
27 /// *should* compile, but fail to compile tests for example as of 2020-03-06
28 #[cfg(not(target_os = "linux"))]
29 compile_error!(
30 "`hg-core` has only been tested on Linux and will most \
31 likely not behave correctly on other platforms."
32 );
33
26 use crate::utils::hg_path::HgPathBuf;
34 use crate::utils::hg_path::HgPathBuf;
27 pub use filepatterns::{
35 pub use filepatterns::{
28 build_single_regex, read_pattern_file, PatternSyntax, PatternTuple,
36 build_single_regex, read_pattern_file, PatternSyntax, PatternTuple,
General Comments 0
You need to be logged in to leave comments. Login now