Skip to content

Commit 3ebd5dc

Browse files
SchrodingerZhunickdesaulniers
authored andcommitted
error on failure of arch resolution.
Co-authored-by: Nick Desaulniers (paternity leave) <[email protected]>
1 parent d442385 commit 3ebd5dc

File tree

1 file changed

+2
-0
lines changed
  • libc/src/__support/OSUtil/linux

1 file changed

+2
-0
lines changed

libc/src/__support/OSUtil/linux/vdso.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#include "arm/vdso.h"
1919
#elif defined(LIBC_TARGET_ARCH_IS_RISCV)
2020
#include "riscv/vdso.h"
21+
#else
22+
#error "unknown arch"
2123
#endif
2224

2325
namespace LIBC_NAMESPACE {

0 commit comments

Comments
 (0)