Valid values for debuginfo level now also include strings "line-tables-only" and "line-directives-only", see here.
cargo will emit those as part of json output. profile for an can look artifact look like this
"profile":{"opt_level":"3","debuginfo":"line-tables-only","debug_assertions":false,"overflow_checks":false,"test":false},
I'm trying to parse it into cargo_metadata::messages::Message datatype and it fails to parse it, probably because
ArtifactProfile defines debuginfo as Option<u32>
pacak/cargo-show-asm#187 - related ticket
Valid values for debuginfo level now also include strings "line-tables-only" and "line-directives-only", see here.
cargowill emit those as part of json output.profilefor an can look artifact look like thisI'm trying to parse it into
cargo_metadata::messages::Messagedatatype and it fails to parse it, probably becauseArtifactProfiledefinesdebuginfoasOption<u32>pacak/cargo-show-asm#187 - related ticket