remove sqlite from dependencies
racy `zig cc` is no longer a thing. Good time to make tests faster.
This commit is contained in:
parent
3d8cc9c38c
commit
f19927ac17
2
go.mod
2
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
|
||||
|
2
go.sum
2
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=
|
@ -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
|
||||
|
@ -1,9 +1,5 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
// #include <stdio.h>
|
||||
// char* hello() { return "hello, world"; }
|
||||
// void printhello() { printf("%s\n", hello()); }
|
||||
|
Loading…
Reference in New Issue
Block a user