Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proc macro are not rebuilt on IDL changes #43

Open
Arrowana opened this issue Jun 16, 2023 · 1 comment
Open

proc macro are not rebuilt on IDL changes #43

Arrowana opened this issue Jun 16, 2023 · 1 comment

Comments

@Arrowana
Copy link

This can help fix it by tracking the json file, unfortunately nightly and doesn't look like it is ready to be stabilized
rust-lang/rust#99515

Scenario:

Dependency program has a new endpoint, update IDL, still no cpi method for it...

The solution right now is cargo clean then cargo build

@0xfourzerofour
Copy link

You could also do this by using a build.rs file and check changes there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants