Skip to content

Commit 25ef564

Browse files
committed
[libc] remove unsupported GCC attribute
This is ok as we build the libraries with `-ffreestanding` which implies `-fno-builtin` on all functions.
1 parent cbe4499 commit 25ef564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/test/src/string/memory_utils/memory_check_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ static inline void Randomize(cpp::span<char> buffer) {
7575
}
7676

7777
// Copy one span to another.
78-
__attribute__((no_builtin)) static inline void
79-
ReferenceCopy(cpp::span<char> dst, const cpp::span<char> src) {
78+
static inline void ReferenceCopy(cpp::span<char> dst,
79+
const cpp::span<char> src) {
8080
assert(dst.size() == src.size());
8181
for (size_t i = 0; i < dst.size(); ++i)
8282
dst[i] = src[i];

0 commit comments

Comments
 (0)