Make _rust_extern_with_linkage_* readonly
This commit is contained in:
parent
e0002c1892
commit
cd2fc77b0e
@ -337,7 +337,7 @@ fn data_id_for_static(
|
|||||||
|
|
||||||
let ref_name = format!("_rust_extern_with_linkage_{}", symbol_name);
|
let ref_name = format!("_rust_extern_with_linkage_{}", symbol_name);
|
||||||
let ref_data_id = module
|
let ref_data_id = module
|
||||||
.declare_data(&ref_name, Linkage::Local, true, false)
|
.declare_data(&ref_name, Linkage::Local, false, false)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let mut data_ctx = DataContext::new();
|
let mut data_ctx = DataContext::new();
|
||||||
data_ctx.set_align(align);
|
data_ctx.set_align(align);
|
||||||
|
Loading…
Reference in New Issue
Block a user