Skip to content

Commit 9041a7b

Browse files
authored
fix(asm): skip compilation of _taint_tracking for Windows OS (#5175)
This change skips compilation of this WIP feature under Windows, which is currently failing on 1.x
1 parent 6302bed commit 9041a7b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

setup.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -291,20 +291,20 @@ def get_exts_for(name):
291291
extra_compile_args=debug_compile_args,
292292
)
293293
)
294-
if sys.version_info >= (3, 6, 0):
295-
ext_modules.append(
296-
Extension(
297-
"ddtrace.appsec.iast._taint_tracking",
298-
# Sort source files for reproducibility
299-
sources=sorted(
300-
glob.glob(
301-
os.path.join(HERE, "ddtrace", "appsec", "iast", "_taint_tracking", "**", "*.cpp"),
302-
recursive=True,
303-
)
304-
),
305-
extra_compile_args=debug_compile_args + ["-std=c++17"],
294+
if sys.version_info >= (3, 6, 0):
295+
ext_modules.append(
296+
Extension(
297+
"ddtrace.appsec.iast._taint_tracking",
298+
# Sort source files for reproducibility
299+
sources=sorted(
300+
glob.glob(
301+
os.path.join(HERE, "ddtrace", "appsec", "iast", "_taint_tracking", "**", "*.cpp"),
302+
recursive=True,
303+
)
304+
),
305+
extra_compile_args=debug_compile_args + ["-std=c++17"],
306+
)
306307
)
307-
)
308308
else:
309309
ext_modules = []
310310

0 commit comments

Comments
 (0)