mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
AK+Meta: Disable consteval completely when building for oss-fuzz
This was missed in 02b74e5a70
We need to disable consteval in AK::String as well as AK::StringView,
and we need to disable it when building both the tools build and the
fuzzer build.
This commit is contained in:
parent
5bc2c333bd
commit
bfd6deed1e
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/ADKaster
Commit: bfd6deed1e
Pull-request: https://github.com/SerenityOS/serenity/pull/19711
2 changed files with 7 additions and 1 deletions
|
@ -30,7 +30,8 @@ class StringData;
|
|||
}
|
||||
|
||||
// FIXME: Remove this when OpenBSD Clang fully supports consteval.
|
||||
#if defined(AK_OS_OPENBSD)
|
||||
// And once oss-fuzz updates to clang >15.
|
||||
#if defined(AK_OS_OPENBSD) || defined(OSS_FUZZ)
|
||||
# define AK_SHORT_STRING_CONSTEVAL constexpr
|
||||
#else
|
||||
# define AK_SHORT_STRING_CONSTEVAL consteval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue