fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
3e2ee941
patching
1"""Transitive dependencies for the Rust `bindgen` rules""" 2 3load ( "@llvm-raw//utils/bazel:configure.bzl" , "llvm_configure" , "llvm_disable_optional_support_deps" ) 4 5# buildifier: disable=unnamed-macro 6def rust_bindgen_transitive_dependencies (): 7"""Declare transitive dependencies needed for bindgen.""" 8 9llvm_configure ( 10name = "llvm-project" , 11repo_mapping = { "@llvm_zlib" : "@zlib" }, 12targets = [ 13"AArch64" , 14"X86" , 15], 16) 17 18# Disables optional dependencies for Support like zlib and terminfo. You may 19# instead want to configure them using the macros in the corresponding bzl 20# files. 21llvm_disable_optional_support_deps ()