Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Nov 14, 2023
1 parent a40e4ec commit d028641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/private/rustc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def _should_use_pic(cc_toolchain, feature_configuration, crate_type, compilation
return cc_toolchain.needs_pic_for_dynamic_libraries(feature_configuration = feature_configuration)
elif compilation_mode in ("fastbuild", "dbg"):
return True
return False
return True

def _is_proc_macro(crate_info):
return "proc-macro" in (crate_info.type, crate_info.wrapped_crate_type)
Expand Down

0 comments on commit d028641

Please sign in to comment.