[webkit-changes] [WebKit/WebKit] 90f7cf: Modernize the way we enable libc++ assertions

Chris Dumez noreply at github.com
Thu Apr 18 20:53:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 90f7cfafc165f41faa5d81d8178fef5f37f642d9
      https://github.com/WebKit/WebKit/commit/90f7cfafc165f41faa5d81d8178fef5f37f642d9
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M Configurations/CommonBase.xcconfig

  Log Message:
  -----------
  Modernize the way we enable libc++ assertions
https://bugs.webkit.org/show_bug.cgi?id=272878

Reviewed by Geoffrey Garen.

Modernize the way we enable libc++ assertions. `-D_LIBCPP_ENABLE_ASSERTIONS=1` is
deprecated and will eventually stop working. It is now recommended to use
`CLANG_CXX_STANDARD_LIBRARY_HARDENING = extensive;` instead.

More details at:
https://github.com/llvm/llvm-project/blob/f9d761df50d12147fc7caa19927be81816d60e2d/libcxx/include/__config#L252-L272

* Configurations/CommonBase.xcconfig:

Canonical link: https://commits.webkit.org/277723@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list