basic working test case

This commit is contained in:
Folkert 2021-12-02 20:30:58 +01:00
parent 8a21b42c20
commit d6ed2147ae
4 changed files with 27 additions and 5 deletions

View file

@ -5285,6 +5285,9 @@ fn run_low_level<'a, 'ctx, 'env>(
_ => unreachable!(),
};
let string =
complex_bitcast(env.builder, string, env.str_list_c_abi().into(), "to_utf8");
call_bitcode_fn(env, &[string], intrinsic)
} else {
unreachable!()