Skip to content

How can we better support no-std usecases? #85

@shepmaster

Description

@shepmaster

Originally, SNAFU was going to support no-std, until I learned that the Error trait doesn't exist in libcore!

That being said, people have said that failure works will in no-std. Evidently, failure can just implement Display in this case.

We certainly could do the same, but I wonder if there's some other powers we could add. My wildest thought would be to establish a parallel Error trait that we could implement instead of (or in addition to?) std::error::Error.

Would this be something that ErrorCompat should do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeedback requestedUser feedback desired on a design decision

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions