Skip to content

Commit 55be5fb

Browse files
authored
Merge pull request #19588 from github/aibaars/rust-enable-attribute-macros
Rust: re-enable attribute macro expansion in library mode
2 parents b4e614a + dc79580 commit 55be5fb

File tree

1 file changed

+0
-4
lines changed
  • rust/extractor/src/translate

1 file changed

+0
-4
lines changed

rust/extractor/src/translate/base.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,10 +734,6 @@ impl<'a> Translator<'a> {
734734
}
735735

736736
pub(crate) fn emit_item_expansion(&mut self, node: &ast::Item, label: Label<generated::Item>) {
737-
// TODO: remove this after fixing exponential expansion on libraries like funty-2.0.0
738-
if self.source_kind == SourceKind::Library {
739-
return;
740-
}
741737
(|| {
742738
let semantics = self.semantics?;
743739
let file = semantics.hir_file_for(node.syntax());

0 commit comments

Comments
 (0)