Guess I should put this under version control LOL
This commit is contained in:
commit
2035318460
73 changed files with 8836 additions and 0 deletions
11
macros/src/build.rs
Normal file
11
macros/src/build.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extern crate lalrpop;
|
||||
extern crate version_check;
|
||||
|
||||
fn main() {
|
||||
lalrpop::process_root().unwrap();
|
||||
|
||||
if version_check::is_nightly().unwrap_or(false) {
|
||||
println!("cargo:rustc-cfg=can_join_spans");
|
||||
println!("cargo:rustc-cfg=can_show_location_of_runtime_parse_error");
|
||||
}
|
||||
}
|
||||
Reference in a new issue