We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e186ce commit 51a7f84Copy full SHA for 51a7f84
crates/cranelift/src/func_environ/gc/enabled.rs
@@ -1256,6 +1256,7 @@ impl FuncEnvironment<'_> {
1256
}
1257
1258
/// Get the GC heap's base.
1259
+ #[cfg(any(feature = "gc-null", feature = "gc-drc"))]
1260
fn get_gc_heap_base(&mut self, builder: &mut FunctionBuilder) -> ir::Value {
1261
let global = self.get_gc_heap_base_global(&mut builder.func);
1262
builder.ins().global_value(self.pointer_type(), global)
0 commit comments