codegen and write_metadata can mutate ModuleLLvm.
This commit is contained in:
parent
36f18f2d3a
commit
e5d1fa58f2
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ use crate::value::Value;
|
|||
|
||||
pub fn write_metadata<'a, 'gcx>(
|
||||
tcx: TyCtxt<'a, 'gcx, 'gcx>,
|
||||
llvm_module: &ModuleLlvm
|
||||
llvm_module: &mut ModuleLlvm
|
||||
) -> EncodedMetadata {
|
||||
use std::io::Write;
|
||||
use flate2::Compression;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue