Skip to content

Commit a70a037

Browse files
committedOct 1, 2014
auto merge of #17673 : aturon/rust/remove-uv, r=alexcrichton
This PR begins the process of [runtime removal](rust-lang/rfcs#230) by dismantling the `librustuv` crate and associated event loop. The result is that, while `libgreen` can still be used for task scheduling purposes, it will no longer be feasible to use green-threaded I/O. Removing the libuv-based event loop eases the transition away from the runtime system, which will be done incrementally. In terms of visible API changes, this PR: * Removes `std::io::signal`, which was never implemented on the native threading model. * Removes the `iotest!` macro, which was previously used to run I/O tests on both green and native threading models. * Removes the `green_start!` macro for starting an application with a `librustuv` event loop. * Removes the `librustuv` crate itself. It also removes the `libuv` and `gyp` submodules and adjusts the build system and copyright notices accordingly. If you wish to continue using `librustuv` and green-threaded I/O, consider using [green-rs](https://github.com/alexcrichton/green-rs/), which provides its own I/O stack.
·
1.89.00.12.0
2 parents b224dfe + dad59bd commit a70a037

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+652
-7747
lines changed
 

‎.gitmodules

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
path = src/llvm
33
url = https://github.com/rust-lang/llvm.git
44
branch = master
5-
[submodule "src/libuv"]
6-
path = src/libuv
7-
url = https://github.com/rust-lang/libuv.git
8-
branch = master
9-
[submodule "src/gyp"]
10-
path = src/gyp
11-
url = https://github.com/rust-lang/gyp.git
125
[submodule "src/compiler-rt"]
136
path = src/compiler-rt
147
url = https://github.com/rust-lang/compiler-rt.git

‎COPYRIGHT

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -213,41 +213,6 @@ their own copyright notices and license terms:
213213
as the Rust compiler or runtime libraries themselves).
214214

215215

216-
* The libuv asynchronous I/O library. Code for this package
217-
is found in the src/libuv directory, within this
218-
distribution. This package is redistributed under the
219-
following terms, as noted in its source:
220-
221-
Copyright Joyent, Inc. and other Node contributors. All
222-
rights reserved. Permission is hereby granted, free of
223-
charge, to any person obtaining a copy of this software
224-
and associated documentation files (the "Software"), to
225-
deal in the Software without restriction, including
226-
without limitation the rights to use, copy, modify,
227-
merge, publish, distribute, sublicense, and/or sell
228-
copies of the Software, and to permit persons to whom
229-
the Software is furnished to do so, subject to the
230-
following conditions:
231-
232-
The above copyright notice and this permission notice
233-
shall be included in all copies or substantial portions
234-
of the Software.
235-
236-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
237-
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
238-
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
239-
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
240-
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
241-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
242-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
243-
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
244-
DEALINGS IN THE SOFTWARE.
245-
246-
247-
* Additional libraries included in libuv carry separate
248-
BSD-compatible licenses. See src/libuv/LICENSE for
249-
details.
250-
251216
* The src/rt/miniz.c file, carrying an implementation of
252217
RFC1950/RFC1951 DEFLATE, by Rich Geldreich
253218
<richgel99@gmail.com>. All uses of this file are

0 commit comments

Comments
 (0)
Please sign in to comment.