bnjbvr closed Issue #1273:
I'm looking at the documentation for https://docs.rs/cranelift-codegen/0.51.0/cranelift_codegen/ir/fn.get_libcall_funcref.html and I'm not sure how to get an
Instto pass to it. It looks likeInstis returned byInstBuilder.call, but that requires me to have aFuncRefwith the same signature already. Am I missing something obvious? It would seem to make more sense to have it take aSignature...Context: I'm trying to call
memcpyfrom libc to fix https://github.com/jyn514/rcc/issues/71.
Last updated: Dec 06 2025 at 05:03 UTC