Fix a bunch of typo
This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos
This commit is contained in:
parent
7f442f8ba1
commit
b1430fb7ca
140 changed files with 171 additions and 171 deletions
|
@ -2309,7 +2309,7 @@ impl Target {
|
|||
load_builtin(target_triple).expect("built-in target")
|
||||
}
|
||||
TargetTriple::TargetJson { .. } => {
|
||||
panic!("built-in targets doens't support target-paths")
|
||||
panic!("built-in targets doesn't support target-paths")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ use crate::spec::{cvs, LinkerFlavor, TargetOptions};
|
|||
pub fn opts() -> TargetOptions {
|
||||
// We cannot use `-nodefaultlibs` because compiler-rt has to be passed
|
||||
// as a path since it's not added to linker search path by the default.
|
||||
// There were attemts to make it behave like libgcc (so one can just use -l<name>)
|
||||
// There were attempts to make it behave like libgcc (so one can just use -l<name>)
|
||||
// but LLVM maintainers rejected it: https://reviews.llvm.org/D51440
|
||||
let pre_link_args =
|
||||
TargetOptions::link_args(LinkerFlavor::Gcc, &["-nolibc", "--unwindlib=none"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue