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

abigen and setup_program_test macros don't detect file changes #1060

Closed
segfault-magnet opened this issue Jul 25, 2023 · 0 comments · Fixed by #1061
Closed

abigen and setup_program_test macros don't detect file changes #1060

segfault-magnet opened this issue Jul 25, 2023 · 0 comments · Fixed by #1061
Assignees
Labels
bug Something isn't working

Comments

@segfault-magnet
Copy link
Contributor

Incremental rust compilation will not recompile macros when the files used inside are changed.

Although this is still an open issue in Rust (see here) there might be a workaround to tie us over.

Unless fixed this might prove frustrating to users who are changing the contract/script code and have their compile fail because the macro didn't reevaluate (missing types, wrong contract ids, etc).

@segfault-magnet segfault-magnet added the bug Something isn't working label Jul 25, 2023
@segfault-magnet segfault-magnet self-assigned this Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant