1

add some C dependencies

this stresses the toolchain more.
This commit is contained in:
Motiejus Jakštys
2021-07-21 15:02:04 +03:00
parent 631906ffd8
commit 37953e9cd3
5 changed files with 30 additions and 1 deletions

View File

@@ -6,6 +6,10 @@ go_library(
cgo = True,
importpath = "github.com/motiejus/bazel-zig-cc/test",
visibility = ["//visibility:private"],
deps = [
"@com_github_datadog_zstd//:go_default_library",
"@com_github_mattn_go_sqlite3//:go_default_library",
],
)
go_binary(

View File

@@ -1,5 +1,10 @@
package main
import (
_ "github.com/DataDog/zstd"
_ "github.com/mattn/go-sqlite3"
)
// #include <stdio.h>
// void helloworld() { printf("hello, world\n"); }
import "C"