Skip to content

Commit 913a926

Browse files
author
Paolo Tranquilli
committed
Bazel: stub internal repo parts needed for building rust binaries
This is another shot at github#17382, using a different and more lightweight approach. This allows building the ruby and python (and in the future also rust) packs from within the codeql repository. This will: * skip defining the glibc symbols checking, which only makes sense when building the release from the internal repository * stub out our `universal_binary` rule, which we only need when building the release.
1 parent 959715a commit 913a926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/bazel/rust.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def codeql_rust_binary(
88
visibility = None,
99
symbols_test = True,
1010
**kwargs):
11-
rust_label_name = name + "_single_arch"
11+
rust_label_name = "single_arch/" + name
1212
universal_binary(
1313
name = name,
1414
dep = ":" + rust_label_name,

0 commit comments

Comments
 (0)