Function menhir::process_file
[−]
[src]
pub fn process_file(file: &Path, args: &[MenhirOption])
Convenience function over run
that just compiles the grammar with the
default options
The default options include --rust --nostdlib
and generate an output file
in the OUT_DIR
directory of the package that is currently being built.
This function should be invoked from a Cargo build.rs
build script.