Skip to content

Commit

Permalink
Update simdjson to 3.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Jun 5, 2024
1 parent 385a79c commit ec8cdf2
Show file tree
Hide file tree
Showing 5 changed files with 602 additions and 29 deletions.
4 changes: 2 additions & 2 deletions 1k/fetch.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ function fetch_repo($url, $name, $dest, $ext) {
git clone --progress $url $dest | Out-Host
}
else {
$out = Join-Path $cache_dir "${name}$ext"
$out = Join-Path $cache_dir "$Script:url_pkg_name$ext"
download_file $url $out
try {
if ($ext -eq '.zip') {
Expand-Archive -Path $out -DestinationPath $prefix -Force
}
else {
elseif ($Script:url_pkg_name -match '.+\.tar(\..*)?$'){
tar xf "$out" -C $prefix
}
}
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@

## simdjson
- [![Upstream](https://img.shields.io/github/v/tag/simdjson/simdjson?label=Upstream)](https://github.com/simdjson/simdjson)
- Version: 3.9.2
- Version: 3.9.3
- License: Apache-2.0

## stb (stb_image)
Expand Down
5 changes: 3 additions & 2 deletions 3rdparty/simdjson/simdjson.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* auto-generated on 2024-05-07 18:04:59 -0400. Do not edit! */
/* auto-generated on 2024-05-30 10:52:38 -0400. Do not edit! */
/* including simdjson.cpp: */
/* begin file simdjson.cpp */
#define SIMDJSON_SRC_SIMDJSON_CPP
Expand Down Expand Up @@ -2359,7 +2359,7 @@ enum error_code {
INDEX_OUT_OF_BOUNDS, ///< JSON array index too large
NO_SUCH_FIELD, ///< JSON field not found in object
IO_ERROR, ///< Error reading a file
INVALID_JSON_POINTER, ///< Invalid JSON pointer reference
INVALID_JSON_POINTER, ///< Invalid JSON pointer syntax
INVALID_URI_FRAGMENT, ///< Invalid URI fragment
UNEXPECTED_ERROR, ///< indicative of a bug in simdjson
PARSER_IN_USE, ///< parser is already in use.
Expand Down Expand Up @@ -6896,6 +6896,7 @@ static inline uint32_t detect_supported_architectures() {
/* end file internal/isadetection.h */

#include <initializer_list>
#include <type_traits>

namespace simdjson {

Expand Down
Loading

0 comments on commit ec8cdf2

Please sign in to comment.