Skip to content

Commit 29e1d61

Browse files
committed
Remove commented out code
1 parent f955c8e commit 29e1d61

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -404,16 +404,6 @@ impl CodegenBackend for CraneliftCodegenBackend {
404404
let obj = artifact.emit().unwrap();
405405
std::fs::write(&tmp_file, obj).unwrap();
406406

407-
/*use rustc_mir::monomorphize::partitioning::CodegenUnitExt;
408-
409-
let dep_node = tcx.codegen_unit(cgu_name).codegen_dep_node(tcx);
410-
let ((stats, module), _) = tcx.dep_graph.with_task(
411-
dep_node,
412-
tcx,
413-
cgu_name,
414-
module_codegen,
415-
);*/
416-
417407
return Box::new(CodegenResults {
418408
artifact,
419409
metadata: metadata.raw_data,

src/link.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -253,20 +253,6 @@ pub(crate) fn link_bin(sess: &Session, codegen_results: &CodegenResults, out_fil
253253
}
254254
}
255255

256-
/*
257-
res.artifact
258-
.declare_with(
259-
&metadata_name,
260-
faerie::artifact::Decl::Data {
261-
global: true,
262-
writable: false,
263-
},
264-
res.metadata.clone(),
265-
)
266-
.unwrap();
267-
*/
268-
269-
270256
fn link_args(cmd: &mut dyn Linker,
271257
flavor: LinkerFlavor,
272258
sess: &Session,

0 commit comments

Comments
 (0)