about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMuhammad Mominul Huque <mominul2082@gmail.com>2021-04-23 20:40:27 +0600
committerGitHub <noreply@github.com>2021-04-23 20:40:27 +0600
commitc4f50fb06ff22e2f566e7eb8dc6b7efc2d91811a (patch)
tree53dc781be5db82663b758147f33bc6f31bd4b0de /src
parent8eb96b85171bd5cb5b36c87f43f460f324ba078f (diff)
downloadrust-c4f50fb06ff22e2f566e7eb8dc6b7efc2d91811a.tar.gz
rust-c4f50fb06ff22e2f566e7eb8dc6b7efc2d91811a.zip
Update the error messsage
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b7a6e692e34..32f40395702 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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
         }