tamer: ld: Write is unused outside of flag

main
Mike Gerwitz 2021-10-04 16:34:25 -04:00
parent e2c9944f1b
commit 1a44e04333
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@ use fxhash::FxBuildHasher;
use petgraph_graphml::GraphMl;
use std::error::Error;
use std::fs;
use std::io::{BufReader, BufWriter, Write};
use std::io::{BufReader, BufWriter};
use std::path::{Path, PathBuf};
type LinkerAsg = DefaultAsg<IdentObject, global::ProgIdentSize>;
@ -242,6 +242,7 @@ fn output_xmle<'a>(
}
#[cfg(feature = "wip-xir-xmle-writer")]
{
use std::io::Write;
use crate::ir::xir::writer::XmlWriter;
use crate::obj::xmle::xir::lower_iter;