mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
e84e100f06
Summary: `extern crate` is usually no longer needed in 2018 edition of Rust. This diff removes `extern crate` lines from fbcode where possible, replacing #[macro_use] with individual import of macros. Before: ``` #[macro_use] extern crate futures_ext; extern crate serde_json; ``` After: ``` use futures_ext::try_boxfuture; ``` Reviewed By: Imxset21 Differential Revision: D17313537 fbshipit-source-id: 70462a2c161375017b77fa44aba166884ad2fdc3
12 lines
314 B
Rust
12 lines
314 B
Rust
// Copyright 2018 Facebook, Inc.
|
|
//
|
|
// This software may be used and distributed according to the terms of the
|
|
// GNU General Public License version 2 or any later version.
|
|
|
|
fn main() {
|
|
cc::Build::new()
|
|
.file("../../edenscm/mercurial/mpatch.c")
|
|
.include("../../")
|
|
.compile("mpatch");
|
|
}
|