Import proc-macro-error-1.0.2
Change-Id: Iebb634ed3b9e204e58ffc8c1035d9e982748ea62
diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..3c1196f
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,11 @@
+fn main() {
+ if !version_check::is_feature_flaggable().unwrap_or(false) {
+ println!("cargo:rustc-cfg=use_fallback");
+ }
+
+ if version_check::is_max_version("1.38.0").unwrap_or(false)
+ || !version_check::Channel::read().unwrap().is_stable()
+ {
+ println!("cargo:rustc-cfg=skip_ui_tests");
+ }
+}