Skip to content

Commit b4855e5

Browse files
mikhailramalhoyuxuanchen1997
authored andcommitted
[libc] Enable bind test for riscv (#100132)
Summary: The bind test was failing in the rv32 build bot because of how the build bot was set to run the tests: we were using shared directories between the host and qemu and the bind function was trying to create a file in this directory, thus creating it in the host machine. The OS was returning "-1 ENXIO (No such device or address)", so we changed the rv32 buildbot to copy the binaries to qemu and dropped the shared directories feature. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250586
1 parent ca8273e commit b4855e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/config/linux/riscv/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ if(LLVM_LIBC_FULL_BUILD)
856856
libc.src.sys.select.select
857857

858858
# sys/socket.h entrypoints
859+
libc.src.sys.socket.bind
859860
libc.src.sys.socket.socket
860861
)
861862
endif()

0 commit comments

Comments
 (0)