Skip to content

Commit 62db62c

Browse files
authored
Correct typos in emcc.py (#17032)
1 parent d81e048 commit 62db62c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

emcc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,8 +1637,8 @@ def phase_linker_setup(options, state, newargs, user_settings):
16371637
diagnostics.warning('deprecated', 'EXTRA_EXPORTED_RUNTIME_METHODS is deprecated, please use EXPORTED_RUNTIME_METHODS instead')
16381638
settings.EXPORTED_RUNTIME_METHODS += settings.EXTRA_EXPORTED_RUNTIME_METHODS
16391639

1640-
# If no output format was sepecific we try to imply the format based on
1641-
# the output filename extension.
1640+
# If no output format was specified we try to deduce the format based on
1641+
# the output filename extension
16421642
if not options.oformat and (options.relocatable or (options.shared and not settings.SIDE_MODULE)):
16431643
# Until we have a better story for actually producing runtime shared libraries
16441644
# we support a compatibility mode where shared libraries are actually just
@@ -2738,9 +2738,9 @@ def compile_source_file(i, input_file):
27382738
@ToolchainProfiler.profile_block('calculate system libraries')
27392739
def phase_calculate_system_libraries(state, linker_arguments, linker_inputs, newargs):
27402740
extra_files_to_link = []
2741-
# link in ports and system libraries, if necessary
2741+
# Link in ports and system libraries, if necessary
27422742
if not settings.SIDE_MODULE:
2743-
# Ports are always linked into the main module, never the size module.
2743+
# Ports are always linked into the main module, never the side module.
27442744
extra_files_to_link += ports.get_libs(settings)
27452745
all_linker_inputs = [f for _, f in sorted(linker_inputs)] + extra_files_to_link
27462746
extra_files_to_link += system_libs.calculate(all_linker_inputs, newargs, forced=state.forced_stdlibs)

0 commit comments

Comments
 (0)