rust-playground icon indicating copy to clipboard operation
rust-playground copied to clipboard

Support "Backtrace" setting for Clippy

Open xFrednet opened this issue 4 years ago • 0 comments

The "Backtrace" setting is currently ignored when executing Clippy. It would be nice if this could be supported.

Note for testing: In Clippy we have an internal lint which is designed to produce ICEs called clippy::produce_ice. However, this one is hidden behind a feature gate. I think we could enable it on nightly for some time if that helps with development. Otherwise, we might be able to find a "simple" ICE on stable that would at least be valid for some time :upside_down_face:

Another tiny improvement for tools would also be to adjust the node inside the output with the text "note: run with RUST_BACKTRACE=1 environment variable to display a backtrace" to rerun the actual tool, currently it starts the normal build.


Related: #545

Thank you for the work, the playground is a really nice and important tool! :+1:

xFrednet avatar Oct 24 '21 14:10 xFrednet