You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing some code to parse cargo test output, and among the data given I want to grab the manifest_path from a "reason":"compiler-artifact" (i.e. Message::CompilerArtifact(Artifact)), but it's not there. The Artifact type has no manifest_path. It's there in the underlying JSON, so... how do I get to it? Here's an example output line:
Assuming that this is the most up to date format it might be a good idea to add a ci check that test against that json to see if any field doesn't get parsed.
I'm writing some code to parse
cargo test
output, and among the data given I want to grab themanifest_path
from a"reason":"compiler-artifact"
(i.e.Message::CompilerArtifact(Artifact)
), but it's not there. TheArtifact
type has nomanifest_path
. It's there in the underlying JSON, so... how do I get to it? Here's an example output line:and output in
Message::parse_stream
:Unless I'm missing something, it's the only field not present, too. Just my luck!
The text was updated successfully, but these errors were encountered: