fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
ec5fd401
main
1# buildifier: disable=bzl-visibility 2load ( "@rules_rust//rust/private:rust.bzl" , "rust_library_without_process_wrapper" ) 3 4rust_library_without_process_wrapper ( 5name = "tinyjson" , 6srcs = glob ([ "src/*.rs" ]), 7edition = "2018" , 8# To ensure the process wrapper is produced deterministically 9# debug info, which is known to sometimes have host specific 10# paths embedded in this section, is stripped out. 11rustc_flags = select ({ 12"@rules_rust//util/process_wrapper:opt_linux" : [ "-Cstrip=debuginfo" ], 13"@rules_rust//util/process_wrapper:opt_macos" : [ "-Cstrip=debuginfo" ], 14"//conditions:default" : [], 15}), 16visibility = [ "@rules_rust//util/process_wrapper:__pkg__" ], 17)