fix unused warning on macos

This commit is contained in:
Folkert 2023-09-14 14:53:44 +02:00
parent b92d8d55a1
commit 287c893043
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -269,6 +269,7 @@ fn mono_module_to_dylib_llvm<'a>(
.map(|lib| (lib, main_fn_name, subs, layout_interner))
}
#[cfg_attr(not(target_os = "linux"), allow(unused))]
fn mono_module_to_dylib_asm<'a>(
arena: &'a Bump,
target: &Triple,