mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Bump version to 0.10
This commit is contained in:
parent
a7e057d402
commit
a5681d2590
10
README.md
10
README.md
@ -32,9 +32,9 @@ documentation.
|
|||||||
|
|
||||||
To build from the [tarball] do:
|
To build from the [tarball] do:
|
||||||
|
|
||||||
$ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz
|
$ curl -O http://static.rust-lang.org/dist/rust-0.10.tar.gz
|
||||||
$ tar -xzf rust-0.9.tar.gz
|
$ tar -xzf rust-0.10.tar.gz
|
||||||
$ cd rust-0.9
|
$ cd rust-0.10
|
||||||
|
|
||||||
Or to build from the [repo] do:
|
Or to build from the [repo] do:
|
||||||
|
|
||||||
@ -59,8 +59,8 @@ documentation.
|
|||||||
4. Enjoy!
|
4. Enjoy!
|
||||||
|
|
||||||
[repo]: https://github.com/mozilla/rust
|
[repo]: https://github.com/mozilla/rust
|
||||||
[tarball]: http://static.rust-lang.org/dist/rust-0.9.tar.gz
|
[tarball]: http://static.rust-lang.org/dist/rust-0.10.tar.gz
|
||||||
[tutorial]: http://static.rust-lang.org/doc/0.9/tutorial.html
|
[tutorial]: http://static.rust-lang.org/doc/0.10/tutorial.html
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ Version 0.10 (April 2014)
|
|||||||
* Tooling
|
* Tooling
|
||||||
* `rustpkg` has been deprecated and removed from the main repository. Its
|
* `rustpkg` has been deprecated and removed from the main repository. Its
|
||||||
replacement, `cargo`, is under development.
|
replacement, `cargo`, is under development.
|
||||||
* Nightly builds of rust are now available (INSERT URL HERE)
|
* Nightly builds of rust are now available
|
||||||
* The memory usage of rustc has been improved many times throughout this
|
* The memory usage of rustc has been improved many times throughout this
|
||||||
release cycle.
|
release cycle.
|
||||||
* The build process supports disabling rpath support for the rustc binary
|
* The build process supports disabling rpath support for the rustc binary
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.TH RUSTC "1" "March 2014" "rustc 0.10-pre" "User Commands"
|
.TH RUSTC "1" "March 2014" "rustc 0.10" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
rustc \- rust compiler
|
rustc \- rust compiler
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.TH RUSTDOC "1" "March 2014" "rustdoc 0.10-pre" "User Commands"
|
.TH RUSTDOC "1" "March 2014" "rustdoc 0.10" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
rustdoc \- generate documentation from Rust source code
|
rustdoc \- generate documentation from Rust source code
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
# The version number
|
# The version number
|
||||||
CFG_RELEASE_NUM=0.10
|
CFG_RELEASE_NUM=0.10
|
||||||
CFG_RELEASE_LABEL=-pre
|
CFG_RELEASE_LABEL=
|
||||||
|
|
||||||
ifndef CFG_ENABLE_NIGHTLY
|
ifndef CFG_ENABLE_NIGHTLY
|
||||||
# This is the normal version string
|
# This is the normal version string
|
||||||
|
@ -53,12 +53,12 @@ To generate .pot and .po files, do something like:
|
|||||||
~~~~
|
~~~~
|
||||||
po4a --copyright-holder="The Rust Project Developers" \
|
po4a --copyright-holder="The Rust Project Developers" \
|
||||||
--package-name="Rust" \
|
--package-name="Rust" \
|
||||||
--package-version="0.10-pre" \
|
--package-version="0.10" \
|
||||||
-M UTF-8 -L UTF-8 \
|
-M UTF-8 -L UTF-8 \
|
||||||
src/doc/po4a.conf
|
src/doc/po4a.conf
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
(the version number must be changed if it is not 0.10-pre now.)
|
(the version number must be changed if it is not 0.10 now.)
|
||||||
|
|
||||||
Now you can translate documents with .po files, commonly used with gettext. If
|
Now you can translate documents with .po files, commonly used with gettext. If
|
||||||
you are not familiar with gettext-based translation, please read the online
|
you are not familiar with gettext-based translation, please read the online
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-02-03 08:13+0900\n"
|
"PO-Revision-Date: 2014-02-03 08:13+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-02-03 08:13+0900\n"
|
"PO-Revision-Date: 2014-02-03 08:13+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-14 21:02+0900\n"
|
"PO-Revision-Date: 2014-01-14 21:02+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Rust 0.10-pre\n"
|
"Project-Id-Version: Rust 0.10\n"
|
||||||
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
"POT-Creation-Date: 2014-02-03 08:13+0900\n"
|
||||||
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
"PO-Revision-Date: 2014-01-13 12:01+0900\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Automatically generated\n"
|
||||||
|
@ -360,8 +360,8 @@ msgstr "上記条件を満たしていれば、以下のような手順でビル
|
|||||||
#| "gz $ tar -xzf rust-0.7.tar.gz $ cd rust-0.7 $ ./configure $ make && make "
|
#| "gz $ tar -xzf rust-0.7.tar.gz $ cd rust-0.7 $ ./configure $ make && make "
|
||||||
#| "install ~~~~"
|
#| "install ~~~~"
|
||||||
msgid ""
|
msgid ""
|
||||||
"~~~~ {.notrust} $ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz $ "
|
"~~~~ {.notrust} $ curl -O http://static.rust-lang.org/dist/rust-0.10.tar.gz $ "
|
||||||
"tar -xzf rust-0.9.tar.gz $ cd rust-0.9 $ ./configure $ make && make install "
|
"tar -xzf rust-0.10.tar.gz $ cd rust-0.10 $ ./configure $ make && make install "
|
||||||
"~~~~"
|
"~~~~"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"~~~~ {.notrust}\n"
|
"~~~~ {.notrust}\n"
|
||||||
@ -408,8 +408,8 @@ msgstr ""
|
|||||||
#| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
|
#| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
|
||||||
#| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
|
#| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
|
||||||
msgid ""
|
msgid ""
|
||||||
"[tarball]: http://static.rust-lang.org/dist/rust-0.9.tar.gz [win-exe]: "
|
"[tarball]: http://static.rust-lang.org/dist/rust-0.10.tar.gz [win-exe]: "
|
||||||
"http://static.rust-lang.org/dist/rust-0.9-install.exe"
|
"http://static.rust-lang.org/dist/rust-0.10-install.exe"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
|
"[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
|
||||||
"[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
|
"[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
|
||||||
|
@ -100,9 +100,9 @@ If you've fulfilled those prerequisites, something along these lines
|
|||||||
should work.
|
should work.
|
||||||
|
|
||||||
~~~~ {.notrust}
|
~~~~ {.notrust}
|
||||||
$ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz
|
$ curl -O http://static.rust-lang.org/dist/rust-0.10.tar.gz
|
||||||
$ tar -xzf rust-0.9.tar.gz
|
$ tar -xzf rust-0.10.tar.gz
|
||||||
$ cd rust-0.9
|
$ cd rust-0.10
|
||||||
$ ./configure
|
$ ./configure
|
||||||
$ make && make install
|
$ make && make install
|
||||||
~~~~
|
~~~~
|
||||||
@ -117,8 +117,8 @@ When complete, `make install` will place several programs into
|
|||||||
`/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the
|
`/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the
|
||||||
API-documentation tool.
|
API-documentation tool.
|
||||||
|
|
||||||
[tarball]: http://static.rust-lang.org/dist/rust-0.9.tar.gz
|
[tarball]: http://static.rust-lang.org/dist/rust-0.10.tar.gz
|
||||||
[win-exe]: http://static.rust-lang.org/dist/rust-0.9-install.exe
|
[win-exe]: http://static.rust-lang.org/dist/rust-0.10-install.exe
|
||||||
|
|
||||||
## Compiling your first program
|
## Compiling your first program
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
|
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
|
||||||
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
|
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
|
||||||
]>
|
]>
|
||||||
<language name="Rust" version="0.10-pre" kateversion="2.4" section="Sources" extensions="*.rs" mimetype="text/x-rust" priority="15">
|
<language name="Rust" version="0.10" kateversion="2.4" section="Sources" extensions="*.rs" mimetype="text/x-rust" priority="15">
|
||||||
<highlighting>
|
<highlighting>
|
||||||
<list name="fn">
|
<list name="fn">
|
||||||
<item> fn </item>
|
<item> fn </item>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
//! of individual objects while the arena itself is still alive. The benefit
|
//! of individual objects while the arena itself is still alive. The benefit
|
||||||
//! of an arena is very fast allocation; just a pointer bump.
|
//! of an arena is very fast allocation; just a pointer bump.
|
||||||
|
|
||||||
#![crate_id = "arena#0.10-pre"]
|
#![crate_id = "arena#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
* Collection types.
|
* Collection types.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "collections#0.10-pre"]
|
#![crate_id = "collections#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -14,7 +14,7 @@ Simple compression
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "flate#0.10-pre"]
|
#![crate_id = "flate#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -39,7 +39,7 @@ fn main() {
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "fourcc#0.10-pre"]
|
#![crate_id = "fourcc#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
//! }
|
//! }
|
||||||
//! ~~~
|
//! ~~~
|
||||||
|
|
||||||
#![crate_id = "getopts#0.10-pre"]
|
#![crate_id = "getopts#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* `glob`/`fnmatch` functions.
|
* `glob`/`fnmatch` functions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "glob#0.10-pre"]
|
#![crate_id = "glob#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -184,7 +184,7 @@
|
|||||||
//! pool.shutdown();
|
//! pool.shutdown();
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#![crate_id = "green#0.10-pre"]
|
#![crate_id = "green#0.10"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
|
@ -36,7 +36,7 @@ fn main() {
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "hexfloat#0.10-pre"]
|
#![crate_id = "hexfloat#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -105,7 +105,7 @@ if logging is disabled, none of the components of the log will be executed.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "log#0.10-pre"]
|
#![crate_id = "log#0.10"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
//! }
|
//! }
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#![crate_id = "native#0.10-pre"]
|
#![crate_id = "native#0.10"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#![feature(macro_rules)]
|
#![feature(macro_rules)]
|
||||||
|
|
||||||
#![crate_id = "num#0.10-pre"]
|
#![crate_id = "num#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -62,7 +62,7 @@ println!("{:?}", tuple_ptr)
|
|||||||
```
|
```
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "rand#0.10-pre"]
|
#![crate_id = "rand#0.10"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
|
@ -22,7 +22,7 @@ use syntax::parse::token::InternedString;
|
|||||||
use syntax::parse::token;
|
use syntax::parse::token;
|
||||||
use syntax::util::small_vector::SmallVector;
|
use syntax::util::small_vector::SmallVector;
|
||||||
|
|
||||||
pub static VERSION: &'static str = "0.10-pre";
|
pub static VERSION: &'static str = "0.10";
|
||||||
|
|
||||||
pub fn maybe_inject_crates_ref(sess: &Session, krate: ast::Crate)
|
pub fn maybe_inject_crates_ref(sess: &Session, krate: ast::Crate)
|
||||||
-> ast::Crate {
|
-> ast::Crate {
|
||||||
|
@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "rustc#0.10-pre"]
|
#![crate_id = "rustc#0.10"]
|
||||||
#![comment = "The Rust compiler"]
|
#![comment = "The Rust compiler"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![crate_id = "rustdoc#0.10-pre"]
|
#![crate_id = "rustdoc#0.10"]
|
||||||
#![desc = "rustdoc, the Rust documentation extractor"]
|
#![desc = "rustdoc, the Rust documentation extractor"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
|
@ -34,7 +34,7 @@ via `close` and `delete` methods.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "rustuv#0.10-pre"]
|
#![crate_id = "rustuv#0.10"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
//! An example version number with all five components is
|
//! An example version number with all five components is
|
||||||
//! `0.8.1-rc.3.0+20130922.linux`.
|
//! `0.8.1-rc.3.0+20130922.linux`.
|
||||||
|
|
||||||
#![crate_id = "semver#0.10-pre"]
|
#![crate_id = "semver#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
Core encoding and decoding interfaces.
|
Core encoding and decoding interfaces.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "serialize#0.10-pre"]
|
#![crate_id = "serialize#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
//!
|
//!
|
||||||
//! use std::prelude::*;
|
//! use std::prelude::*;
|
||||||
|
|
||||||
#![crate_id = "std#0.10-pre"]
|
#![crate_id = "std#0.10"]
|
||||||
#![comment = "The Rust standard library"]
|
#![comment = "The Rust standard library"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
* Concurrency-enabled mechanisms and primitives.
|
* Concurrency-enabled mechanisms and primitives.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "sync#0.10-pre"]
|
#![crate_id = "sync#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "syntax#0.10-pre"]
|
#![crate_id = "syntax#0.10"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
//! Simple ANSI color library
|
//! Simple ANSI color library
|
||||||
|
|
||||||
#![crate_id = "term#0.10-pre"]
|
#![crate_id = "term#0.10"]
|
||||||
#![comment = "Simple ANSI color library"]
|
#![comment = "Simple ANSI color library"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
// running tests while providing a base that other test frameworks may
|
// running tests while providing a base that other test frameworks may
|
||||||
// build off of.
|
// build off of.
|
||||||
|
|
||||||
#![crate_id = "test#0.10-pre"]
|
#![crate_id = "test#0.10"]
|
||||||
#![comment = "Rust internal test library only used by rustc"]
|
#![comment = "Rust internal test library only used by rustc"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![crate_id = "time#0.10-pre"]
|
#![crate_id = "time#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
//! Types/fns concerning URLs (see RFC 3986)
|
//! Types/fns concerning URLs (see RFC 3986)
|
||||||
|
|
||||||
#![crate_id = "url#0.10-pre"]
|
#![crate_id = "url#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -54,7 +54,7 @@ Examples of string representations:
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#![crate_id = "uuid#0.10-pre"]
|
#![crate_id = "uuid#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![crate_id = "workcache#0.10-pre"]
|
#![crate_id = "workcache#0.10"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![license = "MIT/ASL2"]
|
#![license = "MIT/ASL2"]
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
|
|
||||||
// no-prefer-dynamic
|
// no-prefer-dynamic
|
||||||
|
|
||||||
#[crate_id = "collections#0.10-pre"];
|
#[crate_id = "collections#0.10"];
|
||||||
#[crate_type = "dylib"];
|
#[crate_type = "dylib"];
|
||||||
|
@ -10,5 +10,5 @@
|
|||||||
|
|
||||||
// no-prefer-dynamic
|
// no-prefer-dynamic
|
||||||
|
|
||||||
#[crate_id = "collections#0.10-pre"];
|
#[crate_id = "collections#0.10"];
|
||||||
#[crate_type = "rlib"];
|
#[crate_type = "rlib"];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-include ../tools.mk
|
-include ../tools.mk
|
||||||
|
|
||||||
all:
|
all:
|
||||||
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.10-pre" ]
|
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.10" ]
|
||||||
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
|
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
|
||||||
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
|
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
|
||||||
[ `$(RUSTC) --crate-file-name --crate-type=lib --test crate.rs` = "foo" ]
|
[ `$(RUSTC) --crate-file-name --crate-type=lib --test crate.rs` = "foo" ]
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#[crate_id = "foo#0.10-pre"];
|
#[crate_id = "foo#0.10"];
|
||||||
|
|
||||||
// Querying about the crate metadata should *not* parse the entire crate, it
|
// Querying about the crate metadata should *not* parse the entire crate, it
|
||||||
// only needs the crate attributes (which are guaranteed to be at the top) be
|
// only needs the crate attributes (which are guaranteed to be at the top) be
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#[no_std];
|
#[no_std];
|
||||||
extern crate std;
|
extern crate std;
|
||||||
extern crate zed = "std";
|
extern crate zed = "std";
|
||||||
extern crate bar = "std#0.10-pre";
|
extern crate bar = "std#0.10";
|
||||||
|
|
||||||
|
|
||||||
use std::str;
|
use std::str;
|
||||||
|
Loading…
Reference in New Issue
Block a user