rust-lang-deprecated / failure

Error management

Home Page:https://rust-lang-nursery.github.io/failure/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no_std backtrace

roblabla opened this issue · comments

I'd like to use failure in no_std with backtraces. Trouble is, failure doesn't disable the default features of backtrace, which means the "std" feature of backtrace is enabled.

IMO, it should be up to the final user (the binary crate) to determine the used features of backtrace-rs. Most of it is configuration of which library to use to unwind and symbolicate.

A similar problem is the other way around; I'd like to use std without backtraces.