[libcxx-commits] [libcxx] [libc++] use copy_file_range for fs::copy (PR #109211)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 5 10:54:52 PST 2024


Jannik =?utf-8?q?Glückert?= <jannik.glueckert at gmail.com>,Louis Dionne
 <ldionne.2 at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/109211 at github.com>


================
@@ -0,0 +1,52 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14
+// REQUIRES: linux
----------------
ldionne wrote:

```suggestion
// REQUIRES: linux || freebsd
```

Since we use `copy_file_range` on FreeBSD, we should enable this test there.

https://github.com/llvm/llvm-project/pull/109211


More information about the libcxx-commits mailing list