From 4ad17788cdaaee71f6ea41a43eaaa2af50853ac9 Mon Sep 17 00:00:00 2001 From: kim Date: Tue, 10 Jun 2025 13:19:18 +0200 Subject: [chore] update to modernc.org/sqlite v1.38.0 with our concurrency workaround (#4256) see: https://gitlab.com/cznic/sqlite/-/tags/v1.38.0 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4256 Co-authored-by: kim Co-committed-by: kim --- vendor/modernc.org/libc/tls_linux_amd64.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vendor/modernc.org/libc/tls_linux_amd64.go (limited to 'vendor/modernc.org/libc/tls_linux_amd64.go') diff --git a/vendor/modernc.org/libc/tls_linux_amd64.go b/vendor/modernc.org/libc/tls_linux_amd64.go new file mode 100644 index 000000000..89ff4de25 --- /dev/null +++ b/vendor/modernc.org/libc/tls_linux_amd64.go @@ -0,0 +1,16 @@ +// Copyright 2025 The Libc Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package libc // import "modernc.org/libc" + +func TLSAlloc(p0 *TLS, p1 int) uintptr +func TLSFree(p0 *TLS, p1 int) + +func tlsAlloc(tls *TLS, n int) uintptr { + return tls.Alloc(n) +} + +func tlsFre(tls *TLS, n int) { + tls.Free(n) +} -- cgit v1.2.3