forked from syndicate-lang/preserves
Remove unwanted code
This commit is contained in:
parent
06fc9aa017
commit
9f98e1ef3b
|
@ -224,17 +224,6 @@ pub fn compile(config: &CompilerConfig) -> io::Result<()> {
|
||||||
emit_items(generated.remove(&ModuleContextMode::TargetToplevel).unwrap());
|
emit_items(generated.remove(&ModuleContextMode::TargetToplevel).unwrap());
|
||||||
emit_items(generated.remove(&ModuleContextMode::TargetGeneric).unwrap());
|
emit_items(generated.remove(&ModuleContextMode::TargetGeneric).unwrap());
|
||||||
|
|
||||||
// let mut generic_mod_items: Vec<Item> = vec![
|
|
||||||
// item(vertical(false, seq![
|
|
||||||
// format!("use {}::support as _support;", &config.support_crate),
|
|
||||||
// "use _support::Deserialize;",
|
|
||||||
// "use _support::preserves;"])),
|
|
||||||
// ];
|
|
||||||
// generic_mod_items.extend(generated.remove(&ModuleContextMode::TargetGeneric).unwrap());
|
|
||||||
//
|
|
||||||
// lines.push(Formatter::to_string(seq!["mod __ ", vertical(true, block(generic_mod_items))]));
|
|
||||||
// lines.push("".to_owned());
|
|
||||||
|
|
||||||
{
|
{
|
||||||
let contents = lines.join("\n");
|
let contents = lines.join("\n");
|
||||||
write_if_changed(&output_path, contents.as_bytes())?;
|
write_if_changed(&output_path, contents.as_bytes())?;
|
||||||
|
|
Loading…
Reference in New Issue