1load("@rules_rust//rust:defs.bzl", "rust_binary") 2 3rust_binary( 4 name = "hello_sys", 5 srcs = ["src/main.rs"], 6 visibility = ["//visibility:public"], 7 # Note the `crate_unvierse` dependencies here need to have been loaded 8 # in the WORKSPACE file. See `//:sys_deps.bzl` for more details. 9 deps = ["//basic/3rdparty/crates:bzip2"], 10) 11