MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / dedup_list

Function dedup_list

tools/link.py:2940–2943  ·  view source on GitHub ↗
(lst)

Source from the content-addressed store, hash-verified

2938
2939
2940def dedup_list(lst):
2941 # Since we require python 3.6, that ordering of dictionaries is guaranteed
2942 # to be insertion order so we can use 'dict' here but not 'set'.
2943 return list(dict.fromkeys(lst))
2944
2945
2946def check_output_file(f):

Callers 1

phase_linkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected