Skip to content

Commit 38f1dd2

Browse files
committed
[libc] Remove strerror_r on the GPU for now
Summary: This function has conflicting definitions, which makes it difficult to use in an offloading setting. Disable it for now.
1 parent d1d14b7 commit 38f1dd2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

libc/config/gpu/entrypoints.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ set(TARGET_LIBC_ENTRYPOINTS
4848
libc.src.string.strcspn
4949
libc.src.string.strdup
5050
libc.src.string.strerror
51-
libc.src.string.strerror_r
5251
libc.src.string.strlcat
5352
libc.src.string.strlcpy
5453
libc.src.string.strlen

libc/docs/gpu/support.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ strcoll |check|
7070
strcpy |check|
7171
strcspn |check|
7272
strdup |check|
73+
strerror |check|
7374
strlcat |check|
7475
strlcpy |check|
7576
strlen |check|

0 commit comments

Comments
 (0)