Skip to content

Commit 0e70531

Browse files
committed
Restore transitions.
1 parent 5302141 commit 0e70531

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rust/private/rust.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@ _rust_library_attrs = {
320320
"""),
321321
default = "rlib",
322322
),
323+
"_whitelist_function_transition": attr.label(
324+
default = "//tools/whitelists/function_transition_whitelist",
325+
),
323326
}
324327

325328
_rust_test_attrs = {
@@ -340,6 +343,7 @@ rust_library = rule(
340343
_rust_library_attrs.items()),
341344
fragments = ["cpp"],
342345
host_fragments = ["cpp"],
346+
cfg = wasm_transition,
343347
toolchains = [
344348
"@io_bazel_rules_rust//rust:toolchain",
345349
"@bazel_tools//tools/cpp:toolchain_type"

0 commit comments

Comments
 (0)