1

remove sqlite from dependencies

racy `zig cc` is no longer a thing. Good time to make tests faster.
This commit is contained in:
Motiejus Jakštys 2022-01-28 15:50:33 +02:00
parent 3d8cc9c38c
commit f19927ac17
4 changed files with 1 additions and 14 deletions

2
go.mod
View File

@ -1,5 +1,3 @@
module github.com/motiejus/bazel-zig-cc/test module github.com/motiejus/bazel-zig-cc/test
go 1.16 go 1.16
require github.com/mattn/go-sqlite3 v1.14.9

2
go.sum
View File

@ -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=

View File

@ -1,9 +1,4 @@
load("@bazel_gazelle//:deps.bzl", "go_repository") load("@bazel_gazelle//:deps.bzl", "go_repository")
def go_repositories(): def go_repositories():
go_repository( pass
name = "com_github_mattn_go_sqlite3",
importpath = "github.com/mattn/go-sqlite3",
sum = "h1:10HX2Td0ocZpYEjhilsuo6WWtUqttj2Kb0KtD86/KYA=",
version = "v1.14.9",
)

View File

@ -1,9 +1,5 @@
package main package main
import (
_ "github.com/mattn/go-sqlite3"
)
// #include <stdio.h> // #include <stdio.h>
// char* hello() { return "hello, world"; } // char* hello() { return "hello, world"; }
// void printhello() { printf("%s\n", hello()); } // void printhello() { printf("%s\n", hello()); }