Fixed the library to use the new Rust 2018 module system.
This commit is contained in:
4
build.rs
4
build.rs
@ -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,
|
||||
|
Reference in New Issue
Block a user