Stream: general

Topic: global scalars


view this post on Zulip snek (Feb 13 2021 at 20:55):

is there a simple way to declare simple globally available scalar values without having to specialize on which module builder is being used?

view this post on Zulip bjorn3 (Feb 14 2021 at 08:48):

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.

view this post on Zulip bjorn3 (Feb 14 2021 at 08:48):

@snek ^


Last updated: Dec 23 2024 at 12:05 UTC