compiler: fix some typos

This commit is contained in:
cuishuang 2022-03-01 20:02:47 +08:00
parent 4a56cbec59
commit eb2b9441e7
7 changed files with 7 additions and 7 deletions

View file

@ -989,7 +989,7 @@ fn link_natively<'a, B: ArchiveBuilder<'a>>(
// ... and otherwise we're processing a `*.dwp` packed dwarf file.
//
// We cannot rely on the .o paths in the exectuable because they may have been
// We cannot rely on the .o paths in the executable because they may have been
// remapped by --remap-path-prefix and therefore invalid, so we need to provide
// the .o/.dwo paths explicitly.
SplitDebuginfo::Packed => link_dwarf_object(sess, codegen_results, out_filename),

View file

@ -1338,7 +1338,7 @@ impl<'a> Linker for WasmLd<'a> {
}
// LLD will hide these otherwise-internal symbols since it only exports
// symbols explicity passed via the `--export` flags above and hides all
// symbols explicitly passed via the `--export` flags above and hides all
// others. Various bits and pieces of tooling use this, so be sure these
// symbols make their way out of the linker as well.
self.cmd.arg("--export=__heap_base");