Right now we just say it fails, but we don't show the output. We should show the stderr and output the stdout on failure.
|
throw new Error("Error retrieving cargo metadata."); |
This can be tested out by putting some invalid dependency in a Cargo.toml file (I think).
Right now we just say it fails, but we don't show the output. We should show the stderr and output the stdout on failure.
wasmbuild/lib/manifest.ts
Line 56 in f89f6f3
This can be tested out by putting some invalid dependency in a Cargo.toml file (I think).