cargo-c
cargo-c copied to clipboard
Add option to build without debug symbols
It depends on the main project settings (e.g. rav1e always produce debug symbols), changing it would require to edit the cargo toml or use cargo-as-a-library and do something even more ugly.
We now use cargo-as-a-library, it is still quite ugly to do an override, but the same way used in normal cargo should work (should be tested)
Probably would be good to start discussing with upstream cargo about supporting debug=split
and/or override the profiles.