mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-27 01:30:32 +00:00
120c36e9f2
Bitvec works from Rust 1.44.0
8 lines
155 B
Rust
8 lines
155 B
Rust
extern crate version_check;
|
|
|
|
fn main() {
|
|
if version_check::is_min_version("1.44.0").unwrap_or(true) {
|
|
println!("cargo:rustc-cfg=stable_i128");
|
|
}
|
|
}
|