clean up sjlj code gen

This commit is contained in:
Folkert 2021-08-29 17:09:32 +02:00
parent 53c8500d11
commit 32ef95e3d0
2 changed files with 3 additions and 16 deletions

View file

@ -139,7 +139,9 @@ pub fn add_default_roc_externs(env: &Env<'_, '_, '_>) {
}
}
add_sjlj_roc_panic(env)
if env.is_gen_test {
add_sjlj_roc_panic(env)
}
}
pub fn add_sjlj_roc_panic(env: &Env<'_, '_, '_>) {