Skip to content

Commit 92d6157

Browse files
committed
comment tm is independent
1 parent 6e42a9a commit 92d6157

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_codegen_llvm/src

1 file changed

+2
-0
lines changed

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ impl CodegenBackend for LlvmCodegenBackend {
403403
pub struct ModuleLlvm {
404404
llcx: &'static mut llvm::Context,
405405
llmod_raw: *const llvm::Module,
406+
407+
// independent from llcx and llmod_raw, resources get disposed by drop impl
406408
tm: TargetMachineWrapper,
407409
}
408410

0 commit comments

Comments
 (0)