Skip to content

Commit

Permalink
Fix oss-fuzz build
Browse files Browse the repository at this point in the history
Disable assembly when dataflow sanitizer is enabled.

This regressed in PR facebook#2893, which accidentally removed the check for
dataflow sanitizer.
  • Loading branch information
terrelln committed Dec 8, 2021
1 parent 38dfc46 commit aa7729c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/common/portability_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
# if defined(__linux__) || defined(__linux) || defined(__APPLE__)
# if ZSTD_MEMORY_SANITIZER
# define ZSTD_ASM_SUPPORTED 0
# elif ZSTD_DATAFLOW_SANITIZER
# define ZSTD_ASM_SUPPORTED 0
# else
# define ZSTD_ASM_SUPPORTED 1
# endif
Expand Down

0 comments on commit aa7729c

Please sign in to comment.