aboutsummaryrefslogtreecommitdiff
path: root/tools/buck/buildscript.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buck/buildscript.bzl')
-rw-r--r--tools/buck/buildscript.bzl17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/buck/buildscript.bzl b/tools/buck/buildscript.bzl
deleted file mode 100644
index e4d5e1e4..00000000
--- a/tools/buck/buildscript.bzl
+++ /dev/null
@@ -1,17 +0,0 @@
-def buildscript_args(
- name: str.type,
- package_name: str.type,
- buildscript_rule: str.type,
- outfile: str.type,
- version: str.type,
- cfgs: [str.type] = [],
- features: [str.type] = []):
- _ = package_name
- _ = version
- _ = cfgs
- _ = features
- native.genrule(
- name = name,
- out = outfile,
- cmd = "env RUSTC=rustc TARGET= $(exe %s) | sed -n s/^cargo:rustc-cfg=/--cfg=/p > ${OUT}" % buildscript_rule,
- )