fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
ce6b5a59
patching
1load ( "@rules_rust//rust:defs.bzl" , "rust_binary" ) 2load ( "@rules_rust//wasm_bindgen:repositories.bzl" , "WASM_BINDGEN_VERSION" ) 3load ( "@rules_rust//wasm_bindgen/3rdparty/crates:defs.bzl" , "aliases" , "all_crate_deps" ) 4 5package ( default_visibility = [ "//visibility:public" ]) 6 7exports_files ([ 8"Cargo.toml" , 9"Cargo.lock" , 10]) 11 12# TODO: Comment on bootstrapping 13rust_binary ( 14name = "wasm-bindgen-cli" , 15srcs = glob ([ "**/*.rs" ]), 16aliases = aliases (), 17crate_features = [ 18], 19crate_root = "src/bin/wasm-bindgen.rs" , 20data = [], 21edition = "2018" , 22proc_macro_deps = all_crate_deps ( proc_macro = True ), 23rustc_flags = [ 24# Don't produce warnings for this crate 25"--cap-lints=allow" , 26], 27version = WASM_BINDGEN_VERSION , 28deps = all_crate_deps (), 29) 30 31alias ( 32name = "rules_rust_wasm_bindgen_cli" , 33actual = ":wasm-bindgen-cli" , 34tags = [ "manual" ], 35)