diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-07-24 15:17:27 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-07-24 16:03:58 -0400 |
commit | 4d3432daa3e4291f88056d5a02d214c7d9f77191 (patch) | |
tree | 240b7b10246a00c8ce897b4f3d11213e8a2ae9f0 /mesonbuild/backend/vs2015backend.py | |
parent | 22d842a97da45740a19f210d694ce23272a45cf9 (diff) | |
download | meson-4d3432daa3e4291f88056d5a02d214c7d9f77191.zip meson-4d3432daa3e4291f88056d5a02d214c7d9f77191.tar.gz meson-4d3432daa3e4291f88056d5a02d214c7d9f77191.tar.bz2 |
ninjabackend: track all outputs using a set
We need to verify that we don't produce multiple rules for the same
file. This uniqueness check is easy to do with a set, but the original
old implementation used a dict with True as the value. This isn't a
terrible way to implement a set -- we do it for our own internal
OrderedSet implementation, even, and back in prehistory (python 2.3) the
standard library's set type was one. But it was deleted and replaced
with a fast native implementation, and we should too.
Diffstat (limited to 'mesonbuild/backend/vs2015backend.py')
0 files changed, 0 insertions, 0 deletions