Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
/* |
| 2 |
Copyright ⓒ 2016 Daniel Keep. |
| 3 |
|
| 4 |
Licensed under the MIT license (see LICENSE or <http://opensource.org |
| 5 |
/licenses/MIT>) or the Apache License, Version 2.0 (see LICENSE of |
| 6 |
<http://www.apache.org/licenses/LICENSE-2.0>), at your option. All |
| 7 |
files in the project carrying such notice may not be copied, modified, |
| 8 |
or distributed except according to those terms. |
| 9 |
*/ |
| 10 |
extern crate rustc_version; |
| 11 |
use rustc_version::{version_matches}; |
| 12 |
|
| 13 |
fn main() { |
| 14 |
println!("cargo:rerun-if-changed=build.rs"); |
| 15 |
|
| 16 |
if version_matches("1.8.0") { |
| 17 |
println!("cargo:rustc-cfg=op_assign"); |
| 18 |
} |
| 19 |
} |