Skip to content

Commit a3c3515

Browse files
committed
Update binaries.
1 parent e580f08 commit a3c3515

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

embed/bcw2/bcw2.wasm

-36.8 KB
Binary file not shown.

embed/bcw2/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ mkdir -p build/ext/
1313
cp "$ROOT"/sqlite3/*.[ch] build/
1414
cp "$ROOT"/sqlite3/*.patch build/
1515

16-
# https://sqlite.org/src/info/4196efe83c2fa850
17-
curl -# https://sqlite.org/src/tarball/sqlite.tar.gz?r=4196efe8 | tar xz
16+
# https://sqlite.org/src/info/3215186aa9204149
17+
curl -# https://sqlite.org/src/tarball/sqlite.tar.gz?r=3215186a | tar xz
1818

1919
cd sqlite
2020
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then

embed/sqlite3.wasm

-39.1 KB
Binary file not shown.

sqlite3/libc/string.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void *memmove(void *dest, const void *src, size_t n) {
5050
__attribute__((weak))
5151
int memcmp(const void *v1, const void *v2, size_t n) {
5252
// memcmp can read up to n bytes from each object.
53-
// Using unaligned loads to handle the case where
53+
// Use unaligned loads to handle the case where
5454
// the objects have mismatching alignments.
5555
const v128_t *w1 = v1;
5656
const v128_t *w2 = v2;
@@ -151,7 +151,7 @@ static int __strcmp(const char *s1, const char *s2) {
151151
const v128_t *const limit =
152152
(v128_t *)(__builtin_wasm_memory_size(0) * PAGESIZE) - 1;
153153

154-
// Using unaligned loads to handle the case where
154+
// Use unaligned loads to handle the case where
155155
// the strings have mismatching alignments.
156156
const v128_t *w1 = (void *)s1;
157157
const v128_t *w2 = (void *)s2;
@@ -199,7 +199,7 @@ int strncmp(const char *s1, const char *s2, size_t n) {
199199
const v128_t *const limit =
200200
(v128_t *)(__builtin_wasm_memory_size(0) * PAGESIZE) - 1;
201201

202-
// Using unaligned loads to handle the case where
202+
// Use unaligned loads to handle the case where
203203
// the strings have mismatching alignments.
204204
const v128_t *w1 = (void *)s1;
205205
const v128_t *w2 = (void *)s2;
@@ -304,7 +304,7 @@ size_t strspn(const char *s, const char *c) {
304304
return s - a;
305305
}
306306

307-
#if defined(__OPTIMIZE_SIZE__) || !defined(__OPTIMIZE__)
307+
#if !__OPTIMIZE__ || __OPTIMIZE_SIZE__
308308

309309
// Unoptimized version.
310310
memset(byteset, 0, sizeof(byteset));
@@ -339,7 +339,7 @@ size_t strcspn(const char *s, const char *c) {
339339

340340
if (!c[0] || !c[1]) return __strchrnul(s, *c) - s;
341341

342-
#if defined(__OPTIMIZE_SIZE__) || !defined(__OPTIMIZE__)
342+
#if !__OPTIMIZE__ || __OPTIMIZE_SIZE__
343343

344344
// Unoptimized version.
345345
memset(byteset, 0, sizeof(byteset));

vfs/tests/mptest/wasm/mptest.wasm

-40 KB
Binary file not shown.
-40.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)