Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Commit 191f5c4

Browse files
committed
fmt on build.rs
1 parent c398061 commit 191f5c4

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

build.rs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
/****************************************************************************
2-
Copyright (c) 2015 Roland Ruckerbauer All Rights Reserved.
3-
4-
This file is part of hidapi_rust.
5-
6-
hidapi_rust is free software: you can redistribute it and/or modify
7-
it under the terms of the GNU General Public License as published by
8-
the Free Software Foundation, either version 3 of the License, or
9-
(at your option) any later version.
10-
11-
hidapi_rust is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
GNU General Public License for more details.
15-
16-
You should have received a copy of the GNU General Public License
17-
along with hidapi_rust. If not, see <http://www.gnu.org/licenses/>.
18-
****************************************************************************/
1+
// **************************************************************************
2+
// Copyright (c) 2015 Roland Ruckerbauer All Rights Reserved.
3+
//
4+
// This file is part of hidapi_rust.
5+
//
6+
// hidapi_rust is free software: you can redistribute it and/or modify
7+
// it under the terms of the GNU General Public License as published by
8+
// the Free Software Foundation, either version 3 of the License, or
9+
// (at your option) any later version.
10+
//
11+
// hidapi_rust is distributed in the hope that it will be useful,
12+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
// GNU General Public License for more details.
15+
//
16+
// You should have received a copy of the GNU General Public License
17+
// along with hidapi_rust. If not, see <http://www.gnu.org/licenses/>.
18+
// *************************************************************************
1919

2020
extern crate gcc;
2121
extern crate pkg_config;
@@ -38,18 +38,18 @@ fn compile() {
3838
#[cfg(target_os = "windows")]
3939
fn compile() {
4040
gcc::Config::new()
41-
.file("etc/hidapi/windows/hid.c")
42-
.include("etc/hidapi/hidapi")
43-
.compile("libhidapi.a");
41+
.file("etc/hidapi/windows/hid.c")
42+
.include("etc/hidapi/hidapi")
43+
.compile("libhidapi.a");
4444
println!("cargo:rustc-link-lib=setupapi");
4545
}
4646

4747
#[cfg(target_os = "macos")]
4848
fn compile() {
4949
gcc::Config::new()
50-
.file("etc/hidapi/mac/hid.c")
51-
.include("etc/hidapi/hidapi")
52-
.compile("libhidapi.a");
50+
.file("etc/hidapi/mac/hid.c")
51+
.include("etc/hidapi/hidapi")
52+
.compile("libhidapi.a");
5353
println!("cargo:rustc-link-lib=framework=IOKit");
5454
println!("cargo:rustc-link-lib=framework=CoreFoundation");
5555
}

0 commit comments

Comments
 (0)