mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Update gen_wasm's error handling to remove Result and use macros consistently
This commit is contained in:
parent
588b6fcce9
commit
1dda8859c4
8 changed files with 80 additions and 94 deletions
|
@ -1,5 +1,6 @@
|
|||
use bumpalo::collections::vec::Vec;
|
||||
use bumpalo::Bump;
|
||||
use roc_reporting::internal_error;
|
||||
|
||||
use super::sections::{update_section_size, write_custom_section_header};
|
||||
use super::serialize::{SerialBuffer, Serialize};
|
||||
|
@ -477,7 +478,7 @@ impl<'a> LinkingSection<'a> {
|
|||
return syminfos;
|
||||
}
|
||||
}
|
||||
panic!("Symbol table not found");
|
||||
internal_error!("Symbol table not found");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue