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
Inst
to pass to it. It looks likeInst
is returned byInstBuilder.call
, but that requires me to have aFuncRef
with 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
memcpy
from libc to fix https://github.com/jyn514/rcc/issues/71.
Last updated: Nov 22 2024 at 16:03 UTC