Merge branch 'trunk' into rvcas/list_functions

This commit is contained in:
Lucas 2020-11-24 09:07:28 -05:00 committed by GitHub
commit dfcf7bb7a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 1971 additions and 1318 deletions

View file

@ -1707,7 +1707,8 @@ fn expose_function_to_host<'a, 'ctx, 'env>(
env: &Env<'a, 'ctx, 'env>,
roc_function: FunctionValue<'ctx>,
) {
let c_function_name: String = format!("{}_exposed", roc_function.get_name().to_str().unwrap());
let c_function_name: String =
format!("roc_{}_exposed", roc_function.get_name().to_str().unwrap());
let result = expose_function_to_host_help(env, roc_function, &c_function_name);