add Config for extensible configuration#37
add Config for extensible configuration#37programmerjake wants to merge 2 commits intorust-lang:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
That would be either |
|
Oops, I misremembered the |
|
Thanks for the PR! I'm sort of confused though as to what purpose this is serving? Is this fixing an immediate bug? |
It's a new feature upon which more configuration options can be added, so it's not really a bug fix. |
|
Ah ok, in that case I would prefer to not land this since we do not have a future feature in mind at this time. When that comes about I think it makes sense to design the scaffolding then to fit the feature, rather than trying to build the scaffolding now and hope the feature fits in the future. |
|
ok, seems reasonable |
Adds a extensible method for setting demangling configuration.
Using
{:#}as the format string still works for both a less verbose method and for backwards compatibility by acting as ifwith_hashwas set tofalse.See also #36 (comment)
I also made some items
pub(crate)instead ofpubsince they weren't externally visible