I'm trying to call malloc in my cranelift-generated code, but I'm not sure how make an ExternalName
for it. It's certainly not a user name or a test case, but it seems like it's also not a LibCall
? Any tips?
You can use cranelift-module
crate: module.define_function
+ module.define_func_in_func
Thanks!
Last updated: Dec 23 2024 at 12:05 UTC