mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
fix alignment?
This commit is contained in:
parent
5942f64b3c
commit
fb5e5ddb2b
@ -5365,7 +5365,7 @@ fn define_global_str_literal<'a, 'ctx, 'env>(
|
||||
// strings are NULL-terminated, which means we can't store the refcount (which is 8
|
||||
// NULL bytes)
|
||||
global.set_constant(true);
|
||||
global.set_alignment(1);
|
||||
global.set_alignment(env.ptr_bytes);
|
||||
global.set_unnamed_addr(true);
|
||||
global.set_linkage(inkwell::module::Linkage::Private);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user