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
Unfortunately, it's not a simple replacement. The "old" rust_library from @rules_rust//rust:rust.bzl was split into multiple targets in @rules_rust//rust:defs.bzl (rust_library for lib, rlib, dylib, rust_shared_library for cdylib, rust_static_library for staticlib, and rust_proc_macro for proc-macro), and rust_library has been repurposed, so we need to generate different targets for different crate types.
Following bazelbuild/rules_rust#592, this is now the preferred way to load public rules.
Unfortunately, it's not a simple replacement. The "old"
rust_library
from@rules_rust//rust:rust.bzl
was split into multiple targets in@rules_rust//rust:defs.bzl
(rust_library
forlib
,rlib
,dylib
,rust_shared_library
forcdylib
,rust_static_library
forstaticlib
, andrust_proc_macro
forproc-macro
), andrust_library
has been repurposed, so we need to generate different targets for different crate types.cc @UebelAndre
The text was updated successfully, but these errors were encountered: