Skip to content

Commit 3fb907d

Browse files
authored
[ports] Remove support for Port.get() returning a .txt file. NFC (#20205)
The binaryen port used to do this but it was removed back in #9411.
1 parent 30c96f6 commit 3fb907d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ports/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ def get_libs(settings):
390390
for port in dependency_order(needed):
391391
if port.needed(settings):
392392
port.linker_setup(Ports, settings)
393-
# ports return their output files, which will be linked, or a txt file
394-
ret += [f for f in port.get(Ports, settings, shared) if not f.endswith('.txt')]
393+
# port.get returns a list of libraries to link
394+
ret += port.get(Ports, settings, shared)
395395

396396
ret.reverse()
397397
return ret

0 commit comments

Comments
 (0)