Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Sort out serialization of cfg's, or document that it's a nongoal #3

Open
anp opened this issue Jul 11, 2017 · 0 comments
Open

Sort out serialization of cfg's, or document that it's a nongoal #3

anp opened this issue Jul 11, 2017 · 0 comments

Comments

@anp
Copy link
Owner

anp commented Jul 11, 2017

target triple, feature, general cfg, etc.

Maybe this could be configurable in some way? fields in the #[snapshot] annotation?

Could be something like

#[snapshot] // ignores everything, just fails if output doesn't match
#[snapshot(target,some_cfg_name)] // captures target triple in snap, along with an arbitrary cfg value

Would need to have cfg value and things like target triple exposed via macro, and also used as lookup keys in the snap files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant