add some C dependencies
this stresses the toolchain more.
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user