chore: Fix typos in 'compiler' (batch 3)
This commit is contained in:
parent
78d5c04d9c
commit
5780c1ca5e
18 changed files with 21 additions and 21 deletions
|
@ -26,7 +26,7 @@ where
|
|||
// so defer to `classify_arg_ty`.
|
||||
let mut arg_gprs_left = NUM_RET_GPRS;
|
||||
classify_arg_ty(arg, &mut arg_gprs_left, MAX_RET_IN_REGS_SIZE);
|
||||
// Ret args cannot be passed via stack, we lower to indirect and let the backend handle the invisble reference
|
||||
// Ret args cannot be passed via stack, we lower to indirect and let the backend handle the invisible reference
|
||||
match arg.mode {
|
||||
super::PassMode::Indirect { attrs: _, meta_attrs: _, ref mut on_stack } => {
|
||||
*on_stack = false;
|
||||
|
|
|
@ -29,7 +29,7 @@ pub fn opts() -> TargetOptions {
|
|||
// they bring in.
|
||||
//
|
||||
// See also https://learn.microsoft.com/en-us/cpp/preprocessor/comment-c-cpp?view=msvc-170#lib
|
||||
// for documention on including library dependencies in C/C++ code.
|
||||
// for documentation on including library dependencies in C/C++ code.
|
||||
no_default_libraries: false,
|
||||
has_thread_local: true,
|
||||
|
||||
|
|
|
@ -2148,7 +2148,7 @@ pub struct TargetOptions {
|
|||
pub is_like_aix: bool,
|
||||
/// Whether the target toolchain is like macOS's. Only useful for compiling against iOS/macOS,
|
||||
/// in particular running dsymutil and some other stuff like `-dead_strip`. Defaults to false.
|
||||
/// Also indiates whether to use Apple-specific ABI changes, such as extending function
|
||||
/// Also indicates whether to use Apple-specific ABI changes, such as extending function
|
||||
/// parameters to 32-bits.
|
||||
pub is_like_osx: bool,
|
||||
/// Whether the target toolchain is like Solaris's.
|
||||
|
|
|
@ -53,7 +53,7 @@ pub fn target() -> Target {
|
|||
options.entry_name = "__main_void".into();
|
||||
|
||||
// Default to PIC unlike base wasm. This makes precompiled objects such as
|
||||
// the standard library more suitable to be used with shared libaries a la
|
||||
// the standard library more suitable to be used with shared libraries a la
|
||||
// emscripten's dynamic linking convention.
|
||||
options.relocation_model = RelocModel::Pic;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue