Crate rusty_lr_buildscript

Source
Expand description

Build script for rusty_lr

This crate is private and not intended to be used directly. Please use the rusty_lr crate instead.

fn main() {
    println!("cargo::rerun-if-changed=src/parser/parser.rs");

    let output_dir = std::env::var("OUT_DIR").unwrap();
    let output = format!("{}/parser.rs", output_dir);
    Builder::new()
       .file("src/parser/parser.rs")
       .build(&output);
}

Modules§

output

Structs§

Builder
Main entry for the build script

Functions§

target_rusty_lr_version
reexport This, rusty_lr_parser is designed to generate a code, that will be relied on rusty_lr.