Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Switch from failure to thiserror #357

@jedisct1

Description

@jedisct1

For error handling, we currently use the failure crate everywhere.

failure was great when it was released and the standard Error trait didn't support backtraces yet. But things have changed since.

Backtraces are now supported in std::error::Error, so we should use it instead of a custom trait.

Cranelift switched to thiserror, that is lightweight and does everything we need, so we may want to do the same.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions