We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Zdefault-hidden-visibility
rustc
1 parent a72e20d commit e1f039fCopy full SHA for e1f039f
src/allocator.rs
@@ -90,7 +90,7 @@ fn create_wrapper_function(
90
.collect();
91
let func = context.new_function(None, FunctionType::Exported, output.unwrap_or(void), &args, from_name, false);
92
93
- if tcx.sess.target.options.default_hidden_visibility {
+ if tcx.sess.default_hidden_visibility() {
94
#[cfg(feature="master")]
95
func.add_attribute(FnAttribute::Visibility(gccjit::Visibility::Hidden));
96
}
0 commit comments