This commit is contained in:
Folkert 2020-11-07 00:09:45 +01:00
parent a6e39e66f1
commit cb1dff1baf
5 changed files with 11 additions and 5 deletions

View file

@ -3441,7 +3441,6 @@ fn get_foreign_symbol<'a, 'ctx, 'env>(
function_type: FunctionType<'ctx>,
) -> FunctionValue<'ctx> {
let module = env.module;
let context = env.context;
match module.get_function(foreign_symbol.as_str()) {
Some(gvalue) => gvalue,