is there a simple way to declare simple globally available scalar values without having to specialize on which module builder is being used?
Cranelift itself only knows about a single function. If you want a global, you will have to use cranelift-module. The declaration function can be generic over cranelift_module::Module
though.
@snek ^
Last updated: Nov 22 2024 at 17:03 UTC