mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Update repo location
This commit is contained in:
parent
e1971dd35a
commit
f4ae8a83f9
@ -20,13 +20,13 @@ please do two things:
|
|||||||
|
|
||||||
Pull requests will be treated as "review requests", and we will give
|
Pull requests will be treated as "review requests", and we will give
|
||||||
feedback we expect to see corrected on
|
feedback we expect to see corrected on
|
||||||
[style](https://github.com/mozilla/rust/wiki/Note-style-guide) and
|
[style](https://github.com/rust-lang/rust/wiki/Note-style-guide) and
|
||||||
substance before pulling. Changes contributed via pull request should
|
substance before pulling. Changes contributed via pull request should
|
||||||
focus on a single issue at a time, like any other. We will not accept
|
focus on a single issue at a time, like any other. We will not accept
|
||||||
pull-requests that try to "sneak" unrelated changes in.
|
pull-requests that try to "sneak" unrelated changes in.
|
||||||
|
|
||||||
Normally, all pull requests must include regression tests (see
|
Normally, all pull requests must include regression tests (see
|
||||||
[Note-testsuite](https://github.com/mozilla/rust/wiki/Note-testsuite))
|
[Note-testsuite](https://github.com/rust-lang/rust/wiki/Note-testsuite))
|
||||||
that test your change. Occasionally, a change will be very difficult
|
that test your change. Occasionally, a change will be very difficult
|
||||||
to test for. In those cases, please include a note in your commit
|
to test for. In those cases, please include a note in your commit
|
||||||
message explaining why.
|
message explaining why.
|
||||||
@ -41,4 +41,4 @@ example, if it's 2014, and you change a Rust file that was created in
|
|||||||
```
|
```
|
||||||
|
|
||||||
For more details, please refer to
|
For more details, please refer to
|
||||||
[Note-development-policy](https://github.com/mozilla/rust/wiki/Note-development-policy).
|
[Note-development-policy](https://github.com/rust-lang/rust/wiki/Note-development-policy).
|
||||||
|
@ -98,8 +98,8 @@
|
|||||||
# This is hardly all there is to know of The Rust Build System's
|
# This is hardly all there is to know of The Rust Build System's
|
||||||
# mysteries. The tale continues on the wiki[1][2].
|
# mysteries. The tale continues on the wiki[1][2].
|
||||||
#
|
#
|
||||||
# [1]: https://github.com/mozilla/rust/wiki/Note-build-system
|
# [1]: https://github.com/rust-lang/rust/wiki/Note-build-system
|
||||||
# [2]: https://github.com/mozilla/rust/wiki/Note-testsuite
|
# [2]: https://github.com/rust-lang/rust/wiki/Note-testsuite
|
||||||
#
|
#
|
||||||
# If you really feel like getting your hands dirty, then:
|
# If you really feel like getting your hands dirty, then:
|
||||||
#
|
#
|
||||||
|
10
README.md
10
README.md
@ -14,8 +14,8 @@ documentation.
|
|||||||
|
|
||||||
[installer]: http://www.rust-lang.org/install.html
|
[installer]: http://www.rust-lang.org/install.html
|
||||||
[tutorial]: http://doc.rust-lang.org/tutorial.html
|
[tutorial]: http://doc.rust-lang.org/tutorial.html
|
||||||
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
|
[wiki-start]: https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust
|
||||||
[win-wiki]: https://github.com/mozilla/rust/wiki/Using-Rust-on-Windows
|
[win-wiki]: https://github.com/rust-lang/rust/wiki/Using-Rust-on-Windows
|
||||||
|
|
||||||
## Building from Source
|
## Building from Source
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ documentation.
|
|||||||
|
|
||||||
Or to build from the [repo] do:
|
Or to build from the [repo] do:
|
||||||
|
|
||||||
$ git clone https://github.com/mozilla/rust.git
|
$ git clone https://github.com/rust-lang/rust.git
|
||||||
$ cd rust
|
$ cd rust
|
||||||
|
|
||||||
Now that you have Rust's source code, you can configure and build it:
|
Now that you have Rust's source code, you can configure and build it:
|
||||||
@ -58,7 +58,7 @@ documentation.
|
|||||||
3. Read the [tutorial].
|
3. Read the [tutorial].
|
||||||
4. Enjoy!
|
4. Enjoy!
|
||||||
|
|
||||||
[repo]: https://github.com/mozilla/rust
|
[repo]: https://github.com/rust-lang/rust
|
||||||
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
|
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||||
[tutorial]: http://doc.rust-lang.org/tutorial.html
|
[tutorial]: http://doc.rust-lang.org/tutorial.html
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ swap, it will take a very long time to build.
|
|||||||
|
|
||||||
There is a lot more documentation in the [wiki].
|
There is a lot more documentation in the [wiki].
|
||||||
|
|
||||||
[wiki]: https://github.com/mozilla/rust/wiki
|
[wiki]: https://github.com/rust-lang/rust/wiki
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ To build an executable with debug info:
|
|||||||
rustdoc
|
rustdoc
|
||||||
|
|
||||||
.SH "BUGS"
|
.SH "BUGS"
|
||||||
See <\fBhttps://github.com/mozilla/rust/issues\fR> for issues.
|
See <\fBhttps://github.com/rust-lang/rust/issues\fR> for issues.
|
||||||
|
|
||||||
.SH "AUTHOR"
|
.SH "AUTHOR"
|
||||||
See \fBAUTHORS.txt\fR in the Rust source distribution.
|
See \fBAUTHORS.txt\fR in the Rust source distribution.
|
||||||
|
@ -87,7 +87,7 @@ The generated HTML can be viewed with any standard web browser.
|
|||||||
rustc
|
rustc
|
||||||
|
|
||||||
.SH "BUGS"
|
.SH "BUGS"
|
||||||
See <\fBhttps://github.com/mozilla/rust/issues\fR> for issues.
|
See <\fBhttps://github.com/rust-lang/rust/issues\fR> for issues.
|
||||||
|
|
||||||
.SH "AUTHOR"
|
.SH "AUTHOR"
|
||||||
See \fBAUTHORS.txt\fR in the Rust source distribution.
|
See \fBAUTHORS.txt\fR in the Rust source distribution.
|
||||||
|
@ -22,7 +22,7 @@ If you don't have enough time for a search, then don't worry about that. Just su
|
|||||||
the bug. If it's a duplicate, somebody will notice that and close it during triage.
|
the bug. If it's a duplicate, somebody will notice that and close it during triage.
|
||||||
|
|
||||||
If you have the time for it, it would be useful to type the text of the error
|
If you have the time for it, it would be useful to type the text of the error
|
||||||
message you got [into the issue tracker search box](https://github.com/mozilla/rust/issues)
|
message you got [into the issue tracker search box](https://github.com/rust-lang/rust/issues)
|
||||||
to see if there's an existing bug that resembles your problem. If there is,
|
to see if there's an existing bug that resembles your problem. If there is,
|
||||||
and it's an open bug, you can comment on that issue and say you are also affected.
|
and it's an open bug, you can comment on that issue and say you are also affected.
|
||||||
This will encourage the devs to fix it. But again, don't let this stop you from
|
This will encourage the devs to fix it. But again, don't let this stop you from
|
||||||
|
@ -111,7 +111,7 @@ match val.do_something() {
|
|||||||
[#3101][iss] is the issue that proposed making this the only behavior, with
|
[#3101][iss] is the issue that proposed making this the only behavior, with
|
||||||
rationale and discussion.
|
rationale and discussion.
|
||||||
|
|
||||||
[iss]: https://github.com/mozilla/rust/issues/3101
|
[iss]: https://github.com/rust-lang/rust/issues/3101
|
||||||
|
|
||||||
## No guaranteed tail-call optimization
|
## No guaranteed tail-call optimization
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
There aren't many large programs yet. The Rust [compiler][rustc], 60,000+ lines at the time of writing, is written in Rust. As the oldest body of Rust code it has gone through many iterations of the language, and some parts are nicer to look at than others. It may not be the best code to learn from, but [borrowck] and [resolve] were written recently.
|
There aren't many large programs yet. The Rust [compiler][rustc], 60,000+ lines at the time of writing, is written in Rust. As the oldest body of Rust code it has gone through many iterations of the language, and some parts are nicer to look at than others. It may not be the best code to learn from, but [borrowck] and [resolve] were written recently.
|
||||||
|
|
||||||
[rustc]: https://github.com/mozilla/rust/tree/master/src/librustc
|
[rustc]: https://github.com/rust-lang/rust/tree/master/src/librustc
|
||||||
[resolve]: https://github.com/mozilla/rust/blob/master/src/librustc/middle/resolve.rs
|
[resolve]: https://github.com/rust-lang/rust/blob/master/src/librustc/middle/resolve.rs
|
||||||
[borrowck]: https://github.com/mozilla/rust/blob/master/src/librustc/middle/borrowck/
|
[borrowck]: https://github.com/rust-lang/rust/blob/master/src/librustc/middle/borrowck/
|
||||||
|
|
||||||
A research browser engine called [Servo][servo], currently 30,000+ lines across more than a dozen crates, will be exercising a lot of Rust's distinctive type-system and concurrency features, and integrating many native libraries.
|
A research browser engine called [Servo][servo], currently 30,000+ lines across more than a dozen crates, will be exercising a lot of Rust's distinctive type-system and concurrency features, and integrating many native libraries.
|
||||||
|
|
||||||
@ -21,9 +21,9 @@ Some examples that demonstrate different aspects of the language:
|
|||||||
* The extra library's [json] module. Enums and pattern matching
|
* The extra library's [json] module. Enums and pattern matching
|
||||||
|
|
||||||
[sprocketnes]: https://github.com/pcwalton/sprocketnes
|
[sprocketnes]: https://github.com/pcwalton/sprocketnes
|
||||||
[hash]: https://github.com/mozilla/rust/blob/master/src/libstd/hash/mod.rs
|
[hash]: https://github.com/rust-lang/rust/blob/master/src/libstd/hash/mod.rs
|
||||||
[HashMap]: https://github.com/mozilla/rust/blob/master/src/libcollections/hashmap.rs
|
[HashMap]: https://github.com/rust-lang/rust/blob/master/src/libcollections/hashmap.rs
|
||||||
[json]: https://github.com/mozilla/rust/blob/master/src/libserialize/json.rs
|
[json]: https://github.com/rust-lang/rust/blob/master/src/libserialize/json.rs
|
||||||
|
|
||||||
You may also be interested in browsing [GitHub's Rust][github-rust] page.
|
You may also be interested in browsing [GitHub's Rust][github-rust] page.
|
||||||
|
|
||||||
@ -33,8 +33,8 @@ You may also be interested in browsing [GitHub's Rust][github-rust] page.
|
|||||||
|
|
||||||
Yes. All development happens in lock-step on all 3 target platforms. Using MinGW, not Cygwin. Note that the windows implementation currently has some limitations: in particular 64-bit build is [not fully supported yet][win64], and all executables created by rustc [depends on libgcc DLL at runtime][libgcc].
|
Yes. All development happens in lock-step on all 3 target platforms. Using MinGW, not Cygwin. Note that the windows implementation currently has some limitations: in particular 64-bit build is [not fully supported yet][win64], and all executables created by rustc [depends on libgcc DLL at runtime][libgcc].
|
||||||
|
|
||||||
[win64]: https://github.com/mozilla/rust/issues/1237
|
[win64]: https://github.com/rust-lang/rust/issues/1237
|
||||||
[libgcc]: https://github.com/mozilla/rust/issues/11782
|
[libgcc]: https://github.com/rust-lang/rust/issues/11782
|
||||||
|
|
||||||
## Is it OO? How do I do this thing I normally do in an OO language?
|
## Is it OO? How do I do this thing I normally do in an OO language?
|
||||||
|
|
||||||
|
@ -75,4 +75,4 @@ li {list-style-type: none; }
|
|||||||
* [`#rust-internals`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals) - compiler and libraries
|
* [`#rust-internals`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals) - compiler and libraries
|
||||||
* [`#rust-osdev`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-osdev) - operating system development
|
* [`#rust-osdev`](http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-osdev) - operating system development
|
||||||
* The Rust community on [Reddit](http://reddit.com/r/rust)
|
* The Rust community on [Reddit](http://reddit.com/r/rust)
|
||||||
* The Rust [wiki](http://github.com/mozilla/rust/wiki)
|
* The Rust [wiki](http://github.com/rust-lang/rust/wiki)
|
||||||
|
@ -361,7 +361,7 @@ fn main() {
|
|||||||
|
|
||||||
// This is ugly for now, but will be replaced by
|
// This is ugly for now, but will be replaced by
|
||||||
// `numbers[num as uint] += 1` in the near future.
|
// `numbers[num as uint] += 1` in the near future.
|
||||||
// See: https://github.com/mozilla/rust/issues/6515
|
// See: https://github.com/rust-lang/rust/issues/6515
|
||||||
*numbers.get_mut(num as uint) = *numbers.get_mut(num as uint) + 1;
|
*numbers.get_mut(num as uint) = *numbers.get_mut(num as uint) + 1;
|
||||||
|
|
||||||
println!("{}", *numbers.get(num as uint));
|
println!("{}", *numbers.get(num as uint));
|
||||||
|
@ -34,46 +34,46 @@ msgstr "## 構造体"
|
|||||||
#: src/doc/complement-lang-faq.md:83
|
#: src/doc/complement-lang-faq.md:83
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid ""
|
#| msgid ""
|
||||||
#| "[bug-3319]: https://github.com/mozilla/rust/issues/3319 [wiki-start]: "
|
#| "[bug-3319]: https://github.com/rust-lang/rust/issues/3319 [wiki-start]: "
|
||||||
#| "https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust"
|
#| "https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust"
|
||||||
msgid ""
|
msgid ""
|
||||||
"[rustc]: https://github.com/mozilla/rust/tree/master/src/librustc [resolve]: "
|
"[rustc]: https://github.com/rust-lang/rust/tree/master/src/librustc [resolve]: "
|
||||||
"https://github.com/mozilla/rust/blob/master/src/librustc/middle/resolve.rs "
|
"https://github.com/rust-lang/rust/blob/master/src/librustc/middle/resolve.rs "
|
||||||
"[borrowck]: https://github.com/mozilla/rust/blob/master/src/librustc/middle/"
|
"[borrowck]: https://github.com/rust-lang/rust/blob/master/src/librustc/middle/"
|
||||||
"borrowck/"
|
"borrowck/"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[bug-3319]: https://github.com/mozilla/rust/issues/3319\n"
|
"[bug-3319]: https://github.com/rust-lang/rust/issues/3319\n"
|
||||||
"[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-"
|
"[wiki-start]: https://github.com/rust-lang/rust/wiki/Note-getting-started-"
|
||||||
"developing-Rust"
|
"developing-Rust"
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: src/doc/complement-lang-faq.md:99
|
#: src/doc/complement-lang-faq.md:99
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid ""
|
#| msgid ""
|
||||||
#| "[bug-3319]: https://github.com/mozilla/rust/issues/3319 [wiki-start]: "
|
#| "[bug-3319]: https://github.com/rust-lang/rust/issues/3319 [wiki-start]: "
|
||||||
#| "https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust"
|
#| "https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust"
|
||||||
msgid ""
|
msgid ""
|
||||||
"[sprocketnes]: https://github.com/pcwalton/sprocketnes [hash]: https://"
|
"[sprocketnes]: https://github.com/pcwalton/sprocketnes [hash]: https://"
|
||||||
"github.com/mozilla/rust/blob/master/src/libstd/hash.rs [HashMap]: https://"
|
"github.com/rust-lang/rust/blob/master/src/libstd/hash.rs [HashMap]: https://"
|
||||||
"github.com/mozilla/rust/blob/master/src/libstd/hashmap.rs [json]: https://"
|
"github.com/rust-lang/rust/blob/master/src/libstd/hashmap.rs [json]: https://"
|
||||||
"github.com/mozilla/rust/blob/master/src/libextra/json.rs"
|
"github.com/rust-lang/rust/blob/master/src/libextra/json.rs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[bug-3319]: https://github.com/mozilla/rust/issues/3319\n"
|
"[bug-3319]: https://github.com/rust-lang/rust/issues/3319\n"
|
||||||
"[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-"
|
"[wiki-start]: https://github.com/rust-lang/rust/wiki/Note-getting-started-"
|
||||||
"developing-Rust"
|
"developing-Rust"
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: src/doc/complement-lang-faq.md:110
|
#: src/doc/complement-lang-faq.md:110
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid ""
|
#| msgid ""
|
||||||
#| "[bug-3319]: https://github.com/mozilla/rust/issues/3319 [wiki-start]: "
|
#| "[bug-3319]: https://github.com/rust-lang/rust/issues/3319 [wiki-start]: "
|
||||||
#| "https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust"
|
#| "https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust"
|
||||||
msgid ""
|
msgid ""
|
||||||
"[unwind]: https://github.com/mozilla/rust/issues/908 [libgcc]: https://"
|
"[unwind]: https://github.com/rust-lang/rust/issues/908 [libgcc]: https://"
|
||||||
"github.com/mozilla/rust/issues/1603"
|
"github.com/rust-lang/rust/issues/1603"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[bug-3319]: https://github.com/mozilla/rust/issues/3319\n"
|
"[bug-3319]: https://github.com/rust-lang/rust/issues/3319\n"
|
||||||
"[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-"
|
"[wiki-start]: https://github.com/rust-lang/rust/wiki/Note-getting-started-"
|
||||||
"developing-Rust"
|
"developing-Rust"
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
|
@ -303,15 +303,15 @@ msgstr ""
|
|||||||
#: src/doc/tutorial.md:92
|
#: src/doc/tutorial.md:92
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#| msgid ""
|
#| msgid ""
|
||||||
#| "[bug-3319]: https://github.com/mozilla/rust/issues/3319 [wiki-start]: "
|
#| "[bug-3319]: https://github.com/rust-lang/rust/issues/3319 [wiki-start]: "
|
||||||
#| "https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust"
|
#| "https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust"
|
||||||
msgid ""
|
msgid ""
|
||||||
"[bug-3319]: https://github.com/mozilla/rust/issues/3319 [wiki-start]: "
|
"[bug-3319]: https://github.com/rust-lang/rust/issues/3319 [wiki-start]: "
|
||||||
"https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust "
|
"https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust "
|
||||||
"[git]: https://github.com/mozilla/rust.git"
|
"[git]: https://github.com/rust-lang/rust.git"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"[bug-3319]: https://github.com/mozilla/rust/issues/3319\n"
|
"[bug-3319]: https://github.com/rust-lang/rust/issues/3319\n"
|
||||||
"[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-"
|
"[wiki-start]: https://github.com/rust-lang/rust/wiki/Note-getting-started-"
|
||||||
"developing-Rust"
|
"developing-Rust"
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
|
@ -90,8 +90,8 @@ Snapshot binaries are currently built and tested on several platforms:
|
|||||||
You may find that other platforms work, but these are our "tier 1"
|
You may find that other platforms work, but these are our "tier 1"
|
||||||
supported build environments that are most likely to work.
|
supported build environments that are most likely to work.
|
||||||
|
|
||||||
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
|
[wiki-start]: https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust
|
||||||
[git]: https://github.com/mozilla/rust.git
|
[git]: https://github.com/rust-lang/rust.git
|
||||||
[rust-install]: http://www.rust-lang.org/install.html
|
[rust-install]: http://www.rust-lang.org/install.html
|
||||||
|
|
||||||
To build from source you will also need the following prerequisite
|
To build from source you will also need the following prerequisite
|
||||||
@ -3345,6 +3345,6 @@ There is further documentation on the [wiki], however those tend to be even more
|
|||||||
[testing]: guide-testing.html
|
[testing]: guide-testing.html
|
||||||
[runtime]: guide-runtime.html
|
[runtime]: guide-runtime.html
|
||||||
[rustdoc]: rustdoc.html
|
[rustdoc]: rustdoc.html
|
||||||
[wiki]: https://github.com/mozilla/rust/wiki/Docs
|
[wiki]: https://github.com/rust-lang/rust/wiki/Docs
|
||||||
|
|
||||||
[wiki-packages]: https://github.com/mozilla/rust/wiki/Doc-packages,-editors,-and-other-tools
|
[wiki-packages]: https://github.com/rust-lang/rust/wiki/Doc-packages,-editors,-and-other-tools
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div id="versioninfo">
|
<div id="versioninfo">
|
||||||
<img src="http://www.rust-lang.org/logos/rust-logo-32x32-blk.png" width="32" height="32" alt><br>
|
<img src="http://www.rust-lang.org/logos/rust-logo-32x32-blk.png" width="32" height="32" alt><br>
|
||||||
<span class="white-sticker"><a href="http://rust-lang.org">Rust</a> VERSION</span><br>
|
<span class="white-sticker"><a href="http://rust-lang.org">Rust</a> VERSION</span><br>
|
||||||
<a href="http://github.com/mozilla/rust/commit/STAMP"
|
<a href="http://github.com/rust-lang/rust/commit/STAMP"
|
||||||
class="hash white-sticker">SHORT_HASH</a>
|
class="hash white-sticker">SHORT_HASH</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
;; Version: 0.2.0
|
;; Version: 0.2.0
|
||||||
;; Author: Mozilla
|
;; Author: Mozilla
|
||||||
;; Url: https://github.com/mozilla/rust
|
;; Url: https://github.com/rust-lang/rust
|
||||||
;; Keywords: languages
|
;; Keywords: languages
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
This script takes a list of keywords and generates a testcase, that checks
|
This script takes a list of keywords and generates a testcase, that checks
|
||||||
if using the keyword as identifier fails, for every keyword. The generate
|
if using the keyword as identifier fails, for every keyword. The generate
|
||||||
test files are set read-only.
|
test files are set read-only.
|
||||||
Test for https://github.com/mozilla/rust/issues/2275
|
Test for https://github.com/rust-lang/rust/issues/2275
|
||||||
|
|
||||||
sample usage: src/etc/generate-keyword-tests.py as break
|
sample usage: src/etc/generate-keyword-tests.py as break
|
||||||
"""
|
"""
|
||||||
|
@ -4,12 +4,12 @@ An informal guide to reading and working on the rustc compiler.
|
|||||||
If you wish to expand on this document, or have a more experienced
|
If you wish to expand on this document, or have a more experienced
|
||||||
Rust contributor add anything else to it, please get in touch:
|
Rust contributor add anything else to it, please get in touch:
|
||||||
|
|
||||||
https://github.com/mozilla/rust/wiki/Note-development-policy
|
https://github.com/rust-lang/rust/wiki/Note-development-policy
|
||||||
("Communication" subheading)
|
("Communication" subheading)
|
||||||
|
|
||||||
or file a bug:
|
or file a bug:
|
||||||
|
|
||||||
https://github.com/mozilla/rust/issues
|
https://github.com/rust-lang/rust/issues
|
||||||
|
|
||||||
Your concerns are probably the same as someone else's.
|
Your concerns are probably the same as someone else's.
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
//!
|
//!
|
||||||
//! # Relevant links
|
//! # Relevant links
|
||||||
//!
|
//!
|
||||||
//! Original issue: https://github.com/mozilla/rust/issues/10207
|
//! Original issue: https://github.com/rust-lang/rust/issues/10207
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::hash::Hash;
|
use std::hash::Hash;
|
||||||
|
@ -146,7 +146,7 @@ pub unsafe fn record_stack_bounds(stack_lo: uint, stack_hi: uint) {
|
|||||||
// means that if we want to perform valid FFI on windows, then we need
|
// means that if we want to perform valid FFI on windows, then we need
|
||||||
// to ensure that the stack bounds are what they truly are for this
|
// to ensure that the stack bounds are what they truly are for this
|
||||||
// task. More info can be found at:
|
// task. More info can be found at:
|
||||||
// https://github.com/mozilla/rust/issues/3445#issuecomment-26114839
|
// https://github.com/rust-lang/rust/issues/3445#issuecomment-26114839
|
||||||
//
|
//
|
||||||
// stack range is at TIB: %gs:0x08 (top) and %gs:0x10 (bottom)
|
// stack range is at TIB: %gs:0x08 (top) and %gs:0x10 (bottom)
|
||||||
asm!("mov $0, %gs:0x08" :: "r"(stack_hi) :: "volatile");
|
asm!("mov $0, %gs:0x08" :: "r"(stack_hi) :: "volatile");
|
||||||
|
@ -977,7 +977,7 @@ pub enum ViewItem_ {
|
|||||||
// ident: name used to refer to this crate in the code
|
// ident: name used to refer to this crate in the code
|
||||||
// optional (InternedString,StrStyle): if present, this is a location
|
// optional (InternedString,StrStyle): if present, this is a location
|
||||||
// (containing arbitrary characters) from which to fetch the crate sources
|
// (containing arbitrary characters) from which to fetch the crate sources
|
||||||
// For example, extern crate whatever = "github.com/mozilla/rust"
|
// For example, extern crate whatever = "github.com/rust-lang/rust"
|
||||||
ViewItemExternCrate(Ident, Option<(InternedString,StrStyle)>, NodeId),
|
ViewItemExternCrate(Ident, Option<(InternedString,StrStyle)>, NodeId),
|
||||||
ViewItemUse(Gc<ViewPath>),
|
ViewItemUse(Gc<ViewPath>),
|
||||||
}
|
}
|
||||||
|
@ -12,8 +12,8 @@ use std::fmt;
|
|||||||
|
|
||||||
/// CrateIds identify crates and include the crate name and optionally a path
|
/// CrateIds identify crates and include the crate name and optionally a path
|
||||||
/// and version. In the full form, they look like relative URLs. Example:
|
/// and version. In the full form, they look like relative URLs. Example:
|
||||||
/// `github.com/mozilla/rust#std:1.0` would be a package ID with a path of
|
/// `github.com/rust-lang/rust#std:1.0` would be a package ID with a path of
|
||||||
/// `github.com/mozilla/rust` and a crate name of `std` with a version of
|
/// `github.com/rust-lang/rust` and a crate name of `std` with a version of
|
||||||
/// `1.0`. If no crate name is given after the hash, the name is inferred to
|
/// `1.0`. If no crate name is given after the hash, the name is inferred to
|
||||||
/// be the last component of the path. If no version is given, it is inferred
|
/// be the last component of the path. If no version is given, it is inferred
|
||||||
/// to be `0.0`.
|
/// to be `0.0`.
|
||||||
|
Loading…
Reference in New Issue
Block a user