Fix typo in apple_base.rs

erronous -> erroneous
This commit is contained in:
Ikko Ashimine 2022-12-09 18:09:32 +09:00 committed by GitHub
parent 7701a7e7d4
commit f41576bd3d
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>]> { fn link_env_remove(arch: Arch, os: &'static str) -> StaticCow<[StaticCow<str>]> {
// Apple platforms only officially support macOS as a host for any compilation. // 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 // that's only applicable to cross-OS compilation. Always leave anything for the
// host OS alone though. // host OS alone though.
if os == "macos" { if os == "macos" {