core: Move bitcode verification error message into panic message
This commit is contained in:
parent
dd42022633
commit
fc93fc2f0e
@ -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
Block a user