[all-commits] [llvm/llvm-project] 101cfe: [libcxx] Fix build bustage with threads disabled

Mike Hommey via All-commits all-commits at lists.llvm.org
Thu Mar 23 10:31:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 101cfe18f7b80801be3e415ad62acfc57960ad90
      https://github.com/llvm/llvm-project/commit/101cfe18f7b80801be3e415ad62acfc57960ad90
  Author: Mike Hommey <mh at glandium.org>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M libcxx/include/__condition_variable/condition_variable.h

  Log Message:
  -----------
  [libcxx] Fix build bustage with threads disabled

Building with -DLIBCXX_ENABLE_THREADS=OFF -DLIBCXXABI_ENABLE_THREADS=OFF
(like e.g. for wasm) fails after D146228 because of a misplaced std
namespace begin/end.

Reviewed By: philnik, #libc

Differential Revision: https://reviews.llvm.org/D146682




More information about the All-commits mailing list