Skip to content

Commit

Permalink
Update the error messsage
Browse files Browse the repository at this point in the history
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
  • Loading branch information
mominul and bjorn3 committed Apr 23, 2021
1 parent 8eb96b8 commit c4f50fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -281,7 +281,7 @@ fn build_isa(sess: &Session, backend_config: &BackendConfig) -> Box<dyn isa::Tar
Some(value) => {
let mut builder = cranelift_codegen::isa::lookup_variant(target_triple, variant).unwrap();
if let Err(_) = builder.enable(value) {
sess.fatal("The target cpu isn't currently supported by Cranelift.");
sess.fatal("The specified target cpu isn't currently supported by Cranelift.");
}
builder
}
Expand Down

0 comments on commit c4f50fb

Please sign in to comment.