Skip to content

Commit

Permalink
Merge #42
Browse files Browse the repository at this point in the history
42: rename rustgc -> alloy r=ltratt a=jacob-hughes



Co-authored-by: Jake Hughes <[email protected]>
  • Loading branch information
bors[bot] and jacob-hughes authored Jan 16, 2023
2 parents d92e4dc + 3582afb commit fd99aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ syn = { version="0.15", features=["full"] }
quote = "0.6"

[features]
rustgc = []
alloy = []
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ pub fn narrowable(args: TokenStream, input: TokenStream) -> TokenStream {
TokenStream::from(expanded)
}

#[cfg(feature = "rustgc")]
#[cfg(feature = "alloy")]
#[proc_macro_attribute]
pub fn narrowable_rustgc(args: TokenStream, input: TokenStream) -> TokenStream {
pub fn narrowable_alloy(args: TokenStream, input: TokenStream) -> TokenStream {
let args = parse_macro_input!(args as AttributeArgs);
let input = parse_macro_input!(input as ItemTrait);
if args.len() != 1 {
Expand Down

0 comments on commit fd99aad

Please sign in to comment.