AtomBuild / atom-build-cargo

Cargo (Rust) integration for Atom
MIT License
18 stars 6 forks source link

Fix unfollowable paths in output messages #42

Closed alygin closed 8 years ago

alygin commented 8 years ago

When a program panics the file link in the output message might point to the Rust core or a standard library. That happens, for instance, when the panic is caused by unwrap() or similar functions. In this case Linter ends up with a broken link. The PR fixes this problem in cases when the user has the RUST_SRC_PATH environment variable set.

The PR fixes #41 where additional details can be found.

It also fixes a problem that led to ignoring panics which description or thread name contained a single quote.

oli-obk commented 8 years ago

needs a rebase

alygin commented 8 years ago

rebased