Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRename `Config` type to `Build` #226
Conversation
laumann
force-pushed the
laumann:rename-config-type
branch
from
97367cf
to
a06dcf6
Aug 8, 2017
This comment has been minimized.
This comment has been minimized.
|
Thanks! Mind also leaving behind a temporary |
This comment has been minimized.
This comment has been minimized.
|
Sure! Should there be a deprecation warning to alert users to change |
This comment has been minimized.
This comment has been minimized.
|
If I do: #[doc(hidden)]
#[deprecated(since="0.3.51", notes="gcc::Config has been renamed to gcc::Build")]
pub type Config = Build;I get deprecation warnings, but that doesn't work with @alexcrichton Which do you prefer? |
laumann
force-pushed the
laumann:rename-config-type
branch
from
a06dcf6
to
dc7162f
Aug 9, 2017
This comment has been minimized.
This comment has been minimized.
|
@laumann ah unfortunately I think they'll effectively be the same which is to say functionally equivalent and In any case though this looks great to me, thanks! |
alexcrichton
merged commit 9a09971
into
alexcrichton:master
Aug 10, 2017
This comment has been minimized.
This comment has been minimized.
I tried using Like this:
But I don't know if there is anything special about |
laumann
deleted the
laumann:rename-config-type
branch
Aug 10, 2017
This comment has been minimized.
This comment has been minimized.
|
Oh hey! I guess some bugs in rustc have gotten fixed since I last looked! |
This comment has been minimized.
This comment has been minimized.
|
Always a nice surprise :-) But should deprecation on |
This comment has been minimized.
This comment has been minimized.
|
Last I checked it didn't, but maybe it's changed! |
laumann commentedAug 8, 2017
From the discussion it seems that
gcc::Buildwas the preferred name.Fixes #189