mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
make the example loop a couple of times
This commit is contained in:
parent
f00bd9ba01
commit
a67a750fdc
5 changed files with 168 additions and 35 deletions
|
@ -478,7 +478,6 @@ pub fn build_exp_literal<'a, 'ctx, 'env>(
|
|||
let ctx = env.context;
|
||||
let builder = env.builder;
|
||||
let number_of_chars = str_literal.len() as u64;
|
||||
let elem_bytes = CHAR_LAYOUT.stack_size(env.ptr_bytes) as u64;
|
||||
let ptr_bytes = env.ptr_bytes;
|
||||
|
||||
let populate_str = |ptr| {
|
||||
|
|
|
@ -3,7 +3,6 @@ use bumpalo::Bump;
|
|||
use inkwell::context::Context;
|
||||
use inkwell::types::BasicTypeEnum::{self, *};
|
||||
use inkwell::types::{ArrayType, BasicType, FunctionType, IntType, PointerType, StructType};
|
||||
use inkwell::values::IntValue;
|
||||
use inkwell::AddressSpace;
|
||||
use roc_mono::layout::Layout;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue