Rollup merge of #105489 - eltociear:patch-17, r=Dylan-DPC

Fix typo in apple_base.rs

erronous -> erroneous
This commit is contained in:
Matthias Krüger 2022-12-09 22:31:58 +01:00 committed by GitHub
commit f78babd6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" {