hi folks, just wanted to check to what degree roc cares about producing backwards compatible bitcode using zig's llvm.Builder
api?
context: discussion on https://github.com/ziglang/zig/pull/22903
That's probably a @Brendan Hansknecht question
I think we are in the same boat as you all. Bitcode backwards compatibility could be nice to have, but it is not particularly important. Changes in llvm over the years (like correct handling of i128 alignment) mean that older versions of llvm will lead to miscompilation anyway.
So yeah, progress and bug fixes are more important than trying to use old versions of llvm.
I'll probably take Meghan's suggestion and put it in the std lib. If it already works well enough out of the box, great, otherwise I suggest the standard workflow of:
Sounds great
https://github.com/ziglang/zig/pull/23000
Last updated: Jul 06 2025 at 12:14 UTC