Skip to content

Commit f41576b

Browse files
authoredDec 9, 2022
Fix typo in apple_base.rs
erronous -> erroneous
1 parent 7701a7e commit f41576b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_target/src/spec/apple_base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pub fn macos_llvm_target(arch: Arch) -> String {
204204
fn link_env_remove(arch: Arch, os: &'static str) -> StaticCow<[StaticCow<str>]> {
205205
// Apple platforms only officially support macOS as a host for any compilation.
206206
//
207-
// If building for macOS, we go ahead and remove any erronous environment state
207+
// If building for macOS, we go ahead and remove any erroneous environment state
208208
// that's only applicable to cross-OS compilation. Always leave anything for the
209209
// host OS alone though.
210210
if os == "macos" {

0 commit comments

Comments
 (0)
Please sign in to comment.