Skip to content

Commit

Permalink
does renaming help?
Browse files Browse the repository at this point in the history
  • Loading branch information
Daulet Zhanguzin committed Nov 8, 2023
1 parent df031aa commit 060d9d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gazelle(
)

rust_static_library(
name = "libtokenizers",
name = "tokenizers",
srcs = glob([
"src/**/*.rs",
]),
Expand All @@ -37,14 +37,14 @@ go_test(
data = ["//test:data"],
embedsrcs = ["//test:embeddata"],
deps = [
":tokenizers",
":tokenizers_go",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)

go_library(
name = "tokenizers",
name = "tokenizers_go",
srcs = [
"tokenizer.go",
"tokenizers.h",
Expand All @@ -53,7 +53,6 @@ go_library(
":libtokenizers",
],
cgo = True,
clinkopts = ["-ldl -lstdc++"],
importpath = "github.com/daulet/tokenizers",
visibility = ["//visibility:public"],
)
2 changes: 1 addition & 1 deletion example/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go_library(
srcs = ["main.go"],
importpath = "github.com/daulet/tokenizers/example",
visibility = ["//visibility:private"],
deps = ["//:tokenizers"],
deps = ["//:tokenizers_go"],
)

go_binary(
Expand Down
2 changes: 1 addition & 1 deletion release/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go_library(
srcs = ["main.go"],
importpath = "github.com/daulet/tokenizers/release",
visibility = ["//visibility:private"],
deps = ["//:tokenizers"],
deps = ["//:tokenizers_go"],
)

go_binary(
Expand Down

0 comments on commit 060d9d0

Please sign in to comment.