Fixed the library to use the new Rust 2018 module system.

This commit is contained in:
2019-01-19 23:54:34 -05:00
parent 4c817749dc
commit 1a3a5a26e3
4 changed files with 4 additions and 6 deletions

View File

@ -189,12 +189,12 @@ fn compile_and_run(output_name: &str, src_files: &[PathBuf], args: &[PathBuf])
pub fn main()
{
let _gen_file: PathBuf;
let mut errno_file: PathBuf;
let mut gen_file: PathBuf;
let mut gen_errno_file: PathBuf;
errno_file = build_src_file(ERRNO_GENERATOR_FILENAME);
gen_file = build_output_file(ERRNO_GENERATOR_OUTPUT_FILENAME);
_gen_file = build_output_file(ERRNO_GENERATOR_OUTPUT_FILENAME);
gen_errno_file = build_output_file(GENERATED_ERRNO_FILENAME);
compile_and_run(ERRNO_GENERATOR_OUTPUT_FILENAME,