Commit 35c446e7 authored by cznic's avatar cznic
Browse files

update dependencies, make vendor

Bump modernc.org/libc from v1.75.6 to v1.75.7 and re-vendor lib/ and vec/
from modernc.org/libsqlite3 v1.14.5 and modernc.org/libsqlite_vec v0.5.0,
both transpiled against it.

lib/ comes out byte-identical: the 19 SQLite 3.53.4 transpiles did not
change between libsqlite3 v1.14.4 and v1.14.5, only the libc they link
against did. vec/ picks up the libsqlite_vec transpiles regenerated with
cc v4.29.7 and ccgo v4.35.2: unreferenced macro constants added, dropped
or re-evaluated (CHAR_MAX 255 -> 127 on linux/386, linux/amd64 and
linux/loong64, CHAR_MIN dropped there), and one bounds check in
_int8_vec_from_value on darwin spelled -128 and INT8_MAX instead of
-127-1 and 127. sqlite-vec stays at v0.1.9. The rest of the vec/ diff is
undup re-folding those constants between the shared files.

make build_all_targets passes for all 20 targets; go test passes on
linux/amd64, including the pooled FunctionContext and vec tests under the
race detector.

Co-Authored-By: default avatarClaude Fable 5.1 <noreply@anthropic.com>
parent 9ad02acf
Loading
Loading
Loading
Loading
+1 −1
Changes for go.mod: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ require (
	github.com/google/pprof v0.0.0-20260802141513-ef3492d7dac3
	golang.org/x/sys v0.47.0
	modernc.org/fileutil v1.4.0
	modernc.org/libc v1.75.6
	modernc.org/libc v1.75.7
	modernc.org/mathutil v1.7.1
)

+2 −2
+2 −0
Changes for vec/vec_darwin_amd64.go: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ const m_FP_RND_UP = 2

const m_FP_STATE_BYTES = 512

const m_PTHREAD_STACK_MIN = 8192

const m_TARGET_OS_ARROW = 0

const m__I386_SIGNAL_H_ = 1
+2 −0
Changes for vec/vec_darwin_arm64.go: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@

package vec

const m_PTHREAD_STACK_MIN = 16384

const m_TARGET_OS_ARROW = 1

const m__ARM_SIGNAL_ = 1
+33 −51
Changes for vec/vec_g_0000000000000003.go: 33 added lines, 51 removed lines.
Original line number Diff line number Diff line
@@ -2922,7 +2922,7 @@ func _int8_vec_from_value(tls *libc.TLS, value uintptr, vector uintptr, dimensio
				}
				goto done
			}
			if result < int64(-libc.Int32FromInt32(127)-libc.Int32FromInt32(1)) || result > int64(127) {
			if result < int64(-int32(128)) || result > int64(m_INT8_MAX) {
				libsqlite3.Xsqlite3_free(tls, (**(**TArray)(__ccgo_up(bp))).Fz)
				**(**uintptr)(__ccgo_up(pzErr)) = libsqlite3.Xsqlite3_mprintf(tls, __ccgo_ts+341, 0)
				return int32(m_SQLITE_ERROR)
@@ -4410,6 +4410,8 @@ const m_BUS_OBJERR = 3

const m_BYTE_ORDER = "__DARWIN_BYTE_ORDER"

const m_CHILD_MAX = 266

const m_CLD_CONTINUED = 6

const m_CLD_DUMPED = 3
@@ -4424,6 +4426,8 @@ const m_CLD_STOPPED = 5

const m_CLD_TRAPPED = 4

const m_CLK_TCK = "__DARWIN_CLK_TCK"

const m_CPUMON_MAKE_FATAL = 0x1000

const m_DBL_DECIMAL_DIG = "__DBL_DECIMAL_DIG__"
@@ -4484,6 +4488,8 @@ const m_EPWROFF = 82

const m_EQFULL = 106

const m_EQUIV_CLASS_MAX = 2

const m_ESHLIBVERS = 87

const m_ETIME = 101
@@ -4548,37 +4554,7 @@ const m_ILL_PRVOPC = 3

const m_ILL_PRVREG = 6

const m_INT_FAST16_MAX = "__INT_LEAST16_MAX"

const m_INT_FAST16_MIN = "__INT_LEAST16_MIN"

const m_INT_FAST32_MAX = "__INT_LEAST32_MAX"

const m_INT_FAST32_MIN = "__INT_LEAST32_MIN"

const m_INT_FAST64_MAX = "__INT_LEAST64_MAX"

const m_INT_FAST64_MIN = "__INT_LEAST64_MIN"

const m_INT_FAST8_MAX = "__INT_LEAST8_MAX"

const m_INT_FAST8_MIN = "__INT_LEAST8_MIN"

const m_INT_LEAST16_MAX = "__INT_LEAST16_MAX"

const m_INT_LEAST16_MIN = "__INT_LEAST16_MIN"

const m_INT_LEAST32_MAX = "__INT_LEAST32_MAX"

const m_INT_LEAST32_MIN = "__INT_LEAST32_MIN"

const m_INT_LEAST64_MAX = "__INT_LEAST64_MAX"

const m_INT_LEAST64_MIN = "__INT_LEAST64_MIN"

const m_INT_LEAST8_MAX = "__INT_LEAST8_MAX"

const m_INT_LEAST8_MIN = "__INT_LEAST8_MIN"
const m_INTPTR_MAX = 9223372036854775807

const m_IOPOL_APPLICATION = "IOPOL_STANDARD"

@@ -4862,7 +4838,9 @@ const m_MAC_OS_X_VERSION_10_9 = "__MAC_10_9"

const m_MAXFLOAT = "0x1.fffffep+127f"

const m_MB_LEN_MAX = 1
const m_MAX_CANON = 1024

const m_MAX_INPUT = 1024

const m_MINSIGSTKSZ = 32768

@@ -4896,6 +4874,12 @@ const m_NSIG = "__DARWIN_NSIG"

const m_NULL = "__DARWIN_NULL"

const m_OFF_MAX = "LLONG_MAX"

const m_OFF_MIN = "LLONG_MIN"

const m_OPEN_MAX = 10240

const m_PDP_ENDIAN = "__DARWIN_PDP_ENDIAN"

const m_POLL_ERR = 4
@@ -5010,8 +4994,18 @@ const m_PRIxLEAST32 = "PRIx32"

const m_PRIxLEAST8 = "PRIx8"

const m_PTHREAD_KEYS_MAX = 512

const m_PTRDIFF_MAX = "INTMAX_MAX"

const m_PTRDIFF_MIN = "INTMAX_MIN"

const m_P_tmpdir = "/var/tmp/"

const m_QUAD_MAX = "LLONG_MAX"

const m_QUAD_MIN = "LLONG_MIN"

const m_RENAME_EXCL = 0x00000004

const m_RENAME_NOFOLLOW_ANY = 0x00000010
@@ -5340,21 +5334,13 @@ const m_TRAP_BRKPT = 1

const m_TRAP_TRACE = 2

const m_UINT_FAST16_MAX = "__UINT_LEAST16_MAX"
const m_UINT32_MAX = 4294967295

const m_UINT_FAST32_MAX = "__UINT_LEAST32_MAX"
const m_UINT64_MAX = "18446744073709551615U"

const m_UINT_FAST64_MAX = "__UINT_LEAST64_MAX"
const m_UINTPTR_MAX = 18446744073709551615

const m_UINT_FAST8_MAX = "__UINT_LEAST8_MAX"

const m_UINT_LEAST16_MAX = "__UINT_LEAST16_MAX"

const m_UINT_LEAST32_MAX = "__UINT_LEAST32_MAX"

const m_UINT_LEAST64_MAX = "__UINT_LEAST64_MAX"

const m_UINT_LEAST8_MAX = "__UINT_LEAST8_MAX"
const m_UQUAD_MAX = "ULLONG_MAX"

const m_WAIT_MYPGRP = 0

@@ -5536,6 +5522,8 @@ const m___DARWIN_BIG_ENDIAN = 4321

const m___DARWIN_BYTE_ORDER = "__DARWIN_LITTLE_ENDIAN"

const m___DARWIN_CLK_TCK = 100

const m___DARWIN_C_ANSI = 010000

const m___DARWIN_C_FULL = 900000
@@ -5624,10 +5612,6 @@ const m___ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ = 260000

const m___ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ = 260000

const m___INT_LEAST64_MAX = "INT64_MAX"

const m___INT_LEAST64_MIN = "INT64_MIN"

const m___IPHONE_10_0 = 100000

const m___IPHONE_10_1 = 100100
@@ -6132,8 +6116,6 @@ const m___TVOS_9_1 = 90100

const m___TVOS_9_2 = 90200

const m___UINT_LEAST64_MAX = "UINT64_MAX"

const m___VERSION__ = "Apple LLVM 21.0.0 (clang-2100.1.1.101)"

const m___VISIONOS_1_0 = 10000
Loading