forked from M-Labs/nac3
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();
|
||||
if let Err(err) = result {
|
||||
println!("{}", module.print_to_string().to_str().unwrap());
|
||||
println!("{}", err.to_string());
|
||||
panic!()
|
||||
panic!("{}", err.to_string())
|
||||
}
|
||||
|
||||
let pass_options = PassBuilderOptions::create();
|
||||
|
Loading…
Reference in New Issue
Block a user