Skip to content

Do not generate build artifacts under `target` for `check`

Created by: cmichi

Our documentation for cargo contract check:

/// Check that the code builds as Wasm;
/// does not output any build artifact to the top level `target/` directory

I found that despite this comment we actually output to the target dir. This PR changes this behavior by making check build into a tmp dir.

Merge request reports