From f19927ac172168d8b667ef067a0c1f5a44157c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 28 Jan 2022 15:50:33 +0200 Subject: [PATCH] remove sqlite from dependencies racy `zig cc` is no longer a thing. Good time to make tests faster. --- go.mod | 2 -- go.sum | 2 -- repositories.bzl | 7 +------ test/hello.go | 4 ---- 4 files changed, 1 insertion(+), 14 deletions(-) diff --git a/go.mod b/go.mod index e504133..51be187 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,3 @@ module github.com/motiejus/bazel-zig-cc/test go 1.16 - -require github.com/mattn/go-sqlite3 v1.14.9 diff --git a/go.sum b/go.sum index 91694bf..e69de29 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +0,0 @@ -github.com/mattn/go-sqlite3 v1.14.9 h1:10HX2Td0ocZpYEjhilsuo6WWtUqttj2Kb0KtD86/KYA= -github.com/mattn/go-sqlite3 v1.14.9/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= diff --git a/repositories.bzl b/repositories.bzl index 341e42b..3696421 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -1,9 +1,4 @@ load("@bazel_gazelle//:deps.bzl", "go_repository") def go_repositories(): - go_repository( - name = "com_github_mattn_go_sqlite3", - importpath = "github.com/mattn/go-sqlite3", - sum = "h1:10HX2Td0ocZpYEjhilsuo6WWtUqttj2Kb0KtD86/KYA=", - version = "v1.14.9", - ) + pass diff --git a/test/hello.go b/test/hello.go index f998572..52d90cf 100644 --- a/test/hello.go +++ b/test/hello.go @@ -1,9 +1,5 @@ package main -import ( - _ "github.com/mattn/go-sqlite3" -) - // #include // char* hello() { return "hello, world"; } // void printhello() { printf("%s\n", hello()); }