about summary refs log tree commit diff
path: root/compiler/rustc_target/src
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2022-12-09 18:09:32 +0900
committerGitHub <noreply@github.com>2022-12-09 18:09:32 +0900
commitf41576bd3de548d0f46e534662c13d93b273847b (patch)
treed32c50975a652870f173cb1b974b706a42bf5f8a /compiler/rustc_target/src
parent7701a7e7d4eed74a106f39fa64899dffd1e1025f (diff)
downloadrust-f41576bd3de548d0f46e534662c13d93b273847b.tar.gz
rust-f41576bd3de548d0f46e534662c13d93b273847b.zip
Fix typo in apple_base.rs
erronous -> erroneous
Diffstat (limited to 'compiler/rustc_target/src')
-rw-r--r--compiler/rustc_target/src/spec/apple_base.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/apple_base.rs b/compiler/rustc_target/src/spec/apple_base.rs
index 7f8160b5dec..fc6a2edabb7 100644
--- a/compiler/rustc_target/src/spec/apple_base.rs
+++ b/compiler/rustc_target/src/spec/apple_base.rs
@@ -204,7 +204,7 @@ pub fn macos_llvm_target(arch: Arch) -> String {
 fn link_env_remove(arch: Arch, os: &'static str) -> StaticCow<[StaticCow<str>]> {
     // Apple platforms only officially support macOS as a host for any compilation.
     //
-    // If building for macOS, we go ahead and remove any erronous environment state
+    // If building for macOS, we go ahead and remove any erroneous environment state
     // that's only applicable to cross-OS compilation. Always leave anything for the
     // host OS alone though.
     if os == "macos" {