oasislabs/oasis-cli

Heuristic for not rebuilding fresh wasms

Closed this issue · 1 comments

What is the problem that you're trying to solve?
Running the build tool in every dependency without checking whether the results are fresh makes building the top targets very slow. Checking whether the results are fresh is rather tedious.

Describe the solution you'd like
Ideally Cargo wouldn't run the linker every time. The ideal workaround would be to check if any source files changed, but that's a hefty task. Maybe we can use timestamps instead.

Additional context
#132