mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
don't generate host-exposed functions/values in tests
This commit is contained in:
parent
ca38ec4eb5
commit
b01709c566
2 changed files with 109 additions and 73 deletions
|
@ -263,8 +263,9 @@ pub fn expect_mono_module_to_dylib<'a>(
|
|||
|
||||
// Verify the module
|
||||
if let Err(errors) = env.module.verify() {
|
||||
env.module.print_to_file("/tmp/test.ll").unwrap();
|
||||
panic!(
|
||||
"Errors defining module:\n{}\n\nUncomment things nearby to see more details.",
|
||||
"Errors defining module:\n{}\n\nUncomment things nearby to see more details. IR written to `/tmp/test.ll`",
|
||||
errors.to_string()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue