You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the rust_library rule only outputs rlibs regardless of the value of crate_type. In order to correctly support all the different crate types, `rust_library should produce the crates with the correct file extensions.
Proposal
Make the rust_libraryrule internal by renaming it to _rust_library
Add a new outs attribute to the _rust_library rule to support custom outputs
Add a rust_library macro that wraps the _rust_library rule. Based on the value of crate_type, it adds a _rust_library rule with outs set with the name of the output library with the correct file extensions according to the Rust documentation
The text was updated successfully, but these errors were encountered:
Currently, the
rust_library
rule only outputs rlibs regardless of the value ofcrate_type
. In order to correctly support all the different crate types, `rust_library should produce the crates with the correct file extensions.Proposal
rust_library
rule internal by renaming it to_rust_library
outs
attribute to the_rust_library
rule to support custom outputsrust_library
macro that wraps the_rust_library
rule. Based on the value ofcrate_type
, it adds a_rust_library
rule withouts
set with the name of the output library with the correct file extensions according to the Rust documentationThe text was updated successfully, but these errors were encountered: