diff options
| author | cuishuang <imcusg@gmail.com> | 2022-03-01 20:02:47 +0800 |
|---|---|---|
| committer | cuishuang <imcusg@gmail.com> | 2022-03-01 20:02:47 +0800 |
| commit | eb2b9441e789b192b47be510b302b21fdfbaf3a2 (patch) | |
| tree | 6ca2a26607de2c01d298ec0c37d1f4c37e278dfb /compiler/rustc_codegen_ssa/src/back | |
| parent | 4a56cbec59903a830a5fc06c5c81956de4199584 (diff) | |
| download | rust-eb2b9441e789b192b47be510b302b21fdfbaf3a2.tar.gz rust-eb2b9441e789b192b47be510b302b21fdfbaf3a2.zip | |
compiler: fix some typos
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/link.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/linker.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs index 587453fd8e8..b36645ad37b 100644 --- a/compiler/rustc_codegen_ssa/src/back/link.rs +++ b/compiler/rustc_codegen_ssa/src/back/link.rs @@ -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), diff --git a/compiler/rustc_codegen_ssa/src/back/linker.rs b/compiler/rustc_codegen_ssa/src/back/linker.rs index 3fb56f42b8c..a838787381d 100644 --- a/compiler/rustc_codegen_ssa/src/back/linker.rs +++ b/compiler/rustc_codegen_ssa/src/back/linker.rs @@ -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"); |
