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 upstd: Rename io to old_io #21543
Conversation
rust-highfive
assigned
brson
Jan 23, 2015
This comment has been minimized.
This comment has been minimized.
|
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
Note that this hasn't quite finished bootstrapping yet (lots of tests to take care of), but wanted to get this out there as I'll probably finish by the time it hits bors :) |
This comment has been minimized.
This comment has been minimized.
|
r? @aturon |
rust-highfive
assigned
aturon
and unassigned
brson
Jan 23, 2015
alexcrichton
force-pushed the
alexcrichton:old-io
branch
5 times, most recently
from
ebfbdf9
to
0e646ce
Jan 23, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton would this be a good time to rename |
This comment has been minimized.
This comment has been minimized.
|
@sfackler I talked with @aturon on IRC about this and we were basically on the fence about that now. Taking the strategy of |
This comment has been minimized.
This comment has been minimized.
|
Could anybody point me to design issues with the current |
This comment has been minimized.
This comment has been minimized.
|
This is part of io reform. It's not really a "rewrite", more a reorganization and slimming down of APIs (though there are a few deeper changes.) |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton so my concern is that when IO reform lands, people are going to update their trait imports, see it compiles and call it a day. Even if someone's aware of the change to |
This comment has been minimized.
This comment has been minimized.
|
@sfackler @alexcrichton OK, I'm basically persuaded by @sfackler's argument. It's another relatively easy breaking change (like the Want to roll that into this PR before it hits bors? |
alexcrichton
force-pushed the
alexcrichton:old-io
branch
5 times, most recently
from
e139a3a
to
7960221
Jan 23, 2015
This comment has been minimized.
This comment has been minimized.
alexcrichton
force-pushed the
alexcrichton:old-io
branch
from
7960221
to
a1bfa26
Jan 23, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 24, 2015
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:old-io
branch
from
e222b44
to
c4f1d89
Jan 24, 2015
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 25, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:old-io
branch
from
c4f1d89
to
93d2352
Jan 26, 2015
This comment has been minimized.
This comment has been minimized.
|
@bors: r=aturon 93d2352 |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Jan 26, 2015
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:old-io
branch
from
93d2352
to
39690eb
Jan 26, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jan 26, 2015
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton commentedJan 23, 2015
In preparation for the I/O rejuvination of the standard library, this commit
renames the current
iomodule toold_ioin order to make room for the newI/O modules. It is expected that the I/O RFCs will land incrementally over time
instead of all at once, and this provides a fresh clean path for new modules to
enter into as well as guaranteeing that all old infrastructure will remain in
place for some time.
As each
old_iomodule is replaced it will be deprecated in-place for newstructures in
std::{io, fs, net}(as appropriate).This commit does not leave a reexport of
old_io as ioas the deprecationlint does not currently warn on this form of use. This is quite a large breaking
change for all imports in existing code, but all functionality is retained
precisely as-is and path statements simply need to be renamed from
iotoold_io.[breaking-change]