about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-09 22:31:58 +0100
committerGitHub <noreply@github.com>2022-12-09 22:31:58 +0100
commitf78babd6c480266996d6cbfde747600fcf73cf09 (patch)
treeaa05b389a9fa4bafa90aca6a71af3dcfb19ece29 /compiler/rustc_target/src/spec
parentd4773866beb77d85a451e23adf55312d75b30aad (diff)
parentf41576bd3de548d0f46e534662c13d93b273847b (diff)
downloadrust-f78babd6c480266996d6cbfde747600fcf73cf09.tar.gz
rust-f78babd6c480266996d6cbfde747600fcf73cf09.zip
Rollup merge of #105489 - eltociear:patch-17, r=Dylan-DPC
Fix typo in apple_base.rs

erronous -> erroneous
Diffstat (limited to 'compiler/rustc_target/src/spec')
-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" {