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, Version}; |
| 12 | |
| 13 | fn main() { |
| 14 | println!("cargo:rerun-if-changed=build.rs"); |
| 15 | |
| •16 | if version().unwrap() == Version::new(1u64, 8u64, 0u64) { |
| 17 | println!("cargo:rustc-cfg=op_assign"); |
| 18 | } |
| 19 | } |