-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Summary
If possible I would like to move the cfg_if
macro from src/libstd/macros.rs
to src/libcore/macros.rs
.
Motivation
The cfg_if
macro could potentially increase the readability of some cfg
s in no_std
code. In particular it could dramatically improve the readability of some code in libcore
e.g. ffi::VaList
(why I'm interested in moving it 😄). I don't see anything in the macro that would make it invalid in libcore
.
lnicola
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.