##// END OF EJS Templates
rust-matchers: improve `Matcher` trait ergonomics...
rust-matchers: improve `Matcher` trait ergonomics `VisitChildrenSet` has no need to own the set, this will save allocations. The `file_set` return type change is motivated by both ergonomics and... being able to compile code. The `AlwaysMatcher` does not store a `file_set`, which requires it to return an owned `HashSet`, which in turn would change our return type to `Cow<&HgPath>` (lifetimes omitted). This is both un-ergonomic and troublesome for more complex lifetime issues (especially with the upcoming `FileMatcher` in the following patch). Differential Revision: https://phab.mercurial-scm.org/D7525

File last commit:

r40154:cd490ac9 default
r44284:1bb4e9b0 default
Show More
build.rs
9 lines | 173 B | application/rls-services+xml | RustLexer
Yuya Nishihara
rust-chg: add function to send fds via domain socket...
r40005 extern crate cc;
fn main() {
cc::Build::new()
.warnings(true)
.file("src/sendfds.c")
Yuya Nishihara
rust-chg: extract signal handlers from chg/procutil.c...
r40154 .file("src/sighandlers.c")
Yuya Nishihara
rust-chg: add function to send fds via domain socket...
r40005 .compile("procutil");
}