Skip to content

lang: allow the cfg attribute above the instructions#2339

Merged
acheroncrypto merged 9 commits intosolana-foundation:masterfrom
Aursen:cfg
Sep 16, 2024
Merged

lang: allow the cfg attribute above the instructions#2339
acheroncrypto merged 9 commits intosolana-foundation:masterfrom
Aursen:cfg

Conversation

@Aursen
Copy link
Copy Markdown
Collaborator

@Aursen Aursen commented Dec 23, 2022

Closes #2257

The PR #2011 will solve the issue about the idl

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 23, 2022

@Aursen is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@Aursen Aursen marked this pull request as ready for review December 24, 2022 14:43
@Henry-E Henry-E added the blocked label Jan 3, 2023
@Henry-E
Copy link
Copy Markdown
Collaborator

Henry-E commented Jan 3, 2023

Assuming this PR is essentially blocked until #2011 is merged because of the issues around generating the IDL correctly.

@mina86
Copy link
Copy Markdown
Contributor

mina86 commented Nov 28, 2023

@Henry-E, now that #2011 is merged, can we have this merged?

Copy link
Copy Markdown
Collaborator

@acheroncrypto acheroncrypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me but one issue is that this only works with idl-build feature. Still, we should be able to get this in before the next release.

Copy link
Copy Markdown
Collaborator

@acheroncrypto acheroncrypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returning back to this after #3247. I think this looks great, but there are conflicts — are you able to fix them?

@Aursen
Copy link
Copy Markdown
Collaborator Author

Aursen commented Sep 14, 2024

Returning back to this after #3247. I think this looks great, but there are conflicts — are you able to fix them?

Let me do it this weekend

@Aursen Aursen marked this pull request as draft September 15, 2024 20:48
@Aursen Aursen marked this pull request as ready for review September 15, 2024 21:38
Copy link
Copy Markdown
Collaborator

@acheroncrypto acheroncrypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and sorry for the ~2 year delay!

@acheroncrypto acheroncrypto merged commit e25918c into solana-foundation:master Sep 16, 2024
@Aursen Aursen deleted the cfg branch September 16, 2024 14:15
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Anchor #[program] macro appears to ignore cargo feature flags

4 participants