Skip to content

Commit bf39850

Browse files
committed
[deps] Update is_utf8 to version 1.3.1
1 parent a1c67cb commit bf39850

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

deps/is_utf8/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15)
33
project(is_utf8
44
DESCRIPTION "Fast UTF-8 Validation"
55
LANGUAGES CXX
6-
VERSION 1.3.0
6+
VERSION 1.3.1
77
)
88

99
include(GNUInstallDirs)
@@ -25,8 +25,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
2525
set(CMAKE_CXX_EXTENSIONS OFF)
2626
set(CMAKE_MACOSX_RPATH OFF)
2727

28-
set(IS_UTF8_LIB_VERSION "1.3.0" CACHE STRING "is_utf8 library version")
29-
set(IS_UTF8_LIB_SOVERSION "2" CACHE STRING "is_utf8 library soversion")
28+
set(IS_UTF8_LIB_VERSION "1.3.1" CACHE STRING "is_utf8 library version")
29+
set(IS_UTF8_LIB_SOVERSION "1" CACHE STRING "is_utf8 library soversion")
3030

3131
set(IS_UTF8_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
3232
add_subdirectory(src)

deps/is_utf8/src/is_utf8.cpp

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -529,22 +529,12 @@ static inline uint32_t detect_supported_architectures() {
529529
return instruction_set::ALTIVEC;
530530
}
531531
532-
#elif defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
533-
534-
#if defined(__ARM_NEON)
532+
#elif defined(__aarch64__) || defined(_M_ARM64)
535533
536534
static inline uint32_t detect_supported_architectures() {
537535
return instruction_set::NEON;
538536
}
539537
540-
#else // ARM without NEON
541-
542-
static inline uint32_t detect_supported_architectures() {
543-
return instruction_set::DEFAULT;
544-
}
545-
546-
#endif
547-
548538
#elif defined(__x86_64__) || defined(_M_AMD64) // x64
549539
550540
namespace {

0 commit comments

Comments
 (0)