mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

On Linux, the rust-minidump crates yield (at least in some cases) full file paths to the debug files. On other platforms this doesn't seem to be the case. Either way, for all platforms we ensure that the `debug_file` field is only the basename. Differential Revision: https://phabricator.services.mozilla.com/D229015
Testing
To run tests, comment out the mozilla-central-workspace-hack
dependency, then run cargo test
.
Otherwise, the dependency won't have the feature we need enabled. This is because the crate is
excluded from the workspace (as we don't want to vendor the dev-dependencies).
The Cargo.lock
in this directory corresponds to this configuration.