Skip to content

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

@segfault-magnet

Description

@segfault-magnet

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).

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions