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: Dec 23 2024 at 12:05 UTC