Fix typos in compiler
This commit is contained in:
parent
a73288371e
commit
677357d32b
71 changed files with 140 additions and 136 deletions
|
@ -755,7 +755,7 @@ impl FromStr for Conv {
|
|||
"AmdGpuKernel" => Ok(Conv::AmdGpuKernel),
|
||||
"AvrInterrupt" => Ok(Conv::AvrInterrupt),
|
||||
"AvrNonBlockingInterrupt" => Ok(Conv::AvrNonBlockingInterrupt),
|
||||
_ => Err(format!("'{s}' is not a valid value for entry function call convetion.")),
|
||||
_ => Err(format!("'{s}' is not a valid value for entry function call convention.")),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ pub enum Lld {
|
|||
/// target properties, in accordance with the first design goal.
|
||||
///
|
||||
/// The first component of the flavor is tightly coupled with the compilation target,
|
||||
/// while the `Cc` and `Lld` flags can vary withing the same target.
|
||||
/// while the `Cc` and `Lld` flags can vary within the same target.
|
||||
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
||||
pub enum LinkerFlavor {
|
||||
/// Unix-like linker with GNU extensions (both naked and compiler-wrapped forms).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue