fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
97264b79
rust-analyzer
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]) 10 11# TODO: Comment on bootstrapping 12rust_binary ( 13name = "wasm-bindgen-cli" , 14srcs = glob ([ "**/*.rs" ]), 15aliases = aliases (), 16crate_features = [ 17], 18crate_root = "src/bin/wasm-bindgen.rs" , 19data = [], 20edition = "2018" , 21proc_macro_deps = all_crate_deps ( proc_macro = True ), 22rustc_flags = [ 23# Don't produce warnings for this crate 24"--cap-lints=allow" , 25], 26version = WASM_BINDGEN_VERSION , 27deps = all_crate_deps (), 28) 29 30alias ( 31name = "rules_rust_wasm_bindgen_cli" , 32actual = ":wasm-bindgen-cli" , 33tags = [ "manual" ], 34)