core: Move bitcode verification error message into panic message
This commit is contained in:
parent
806f65815f
commit
8bef0ab8f2
|
@ -319,8 +319,7 @@ impl WorkerRegistry {
|
||||||
let result = module.verify();
|
let result = module.verify();
|
||||||
if let Err(err) = result {
|
if let Err(err) = result {
|
||||||
println!("{}", module.print_to_string().to_str().unwrap());
|
println!("{}", module.print_to_string().to_str().unwrap());
|
||||||
println!("{}", err.to_string());
|
panic!("{}", err.to_string())
|
||||||
panic!()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let pass_options = PassBuilderOptions::create();
|
let pass_options = PassBuilderOptions::create();
|
||||||
|
|
Loading…
Reference in New Issue