Skip to content

Commit ad84d62

Browse files
committed
---
yaml --- r: 128761 b: refs/heads/try c: d917770 h: refs/heads/master i: 128759: 95528d0 v: v3
1 parent 80c79ba commit ad84d62

File tree

164 files changed

+2991
-747
lines changed

Some content is hidden

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

164 files changed

+2991
-747
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 07d86b46a949a94223da714e35b343243e4ecce4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a86d9ad15e339ab343a12513f9c90556f677b9ca
5-
refs/heads/try: 97e82cc2df6cba885ba5cc78b8736bde861bf770
5+
refs/heads/try: d9177707926d4fbed9dd9e4e7afc9a8c185dafe0
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ please do two things:
1616

1717
2. Run the full Rust test suite with the `make check` command. You're
1818
not off the hook even if you just stick to documentation; code
19-
examples in the docs are tested as well!
19+
examples in the docs are tested as well! Although for simple
20+
wording or grammar fixes, this is probably unnecessary.
2021

2122
Pull requests will be treated as "review requests", and we will give
2223
feedback we expect to see corrected on

branches/try/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ documentation.
3232

3333
To build from the [tarball] do:
3434

35-
$ curl -O http://static.rust-lang.org/dist/rust-nightly.tar.gz
35+
$ curl -O https://static.rust-lang.org/dist/rust-nightly.tar.gz
3636
$ tar -xzf rust-nightly.tar.gz
3737
$ cd rust-nightly
3838

@@ -75,7 +75,7 @@ To easily build on windows we can use [MSYS2](http://sourceforge.net/projects/ms
7575
$ make && make install
7676

7777
[repo]: https://github.com/rust-lang/rust
78-
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
78+
[tarball]: https://static.rust-lang.org/dist/rust-nightly.tar.gz
7979
[tutorial]: http://doc.rust-lang.org/tutorial.html
8080

8181
## Notes

branches/try/configure

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -557,13 +557,21 @@ fi
557557

558558
if [ ! -z "$CFG_ENABLE_LOCAL_RUST" ]
559559
then
560-
if [ ! -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
560+
system_rustc=$(which rustc)
561+
if [ -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} ]
561562
then
562-
err "no local rust to use"
563+
: # everything already configured
564+
elif [ -n "$system_rustc" ]
565+
then
566+
# we assume that rustc is in a /bin directory
567+
CFG_LOCAL_RUST_ROOT=${system_rustc%/bin/rustc}
563568
else
564-
LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} --version`
565-
step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: $LRV"
569+
err "no local rust to use"
566570
fi
571+
572+
LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF} --version`
573+
step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: $LRV"
574+
putvar CFG_LOCAL_RUST_ROOT
567575
fi
568576

569577
# Force freebsd to build with clang; gcc doesn't like us there

branches/try/mk/main.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ endif
139139
RUSTFLAGS_STAGE0 += -C prefer-dynamic
140140
RUSTFLAGS_STAGE1 += -C prefer-dynamic
141141

142+
# Landing pads require a lot of codegen. We can get through bootstrapping faster
143+
# by not emitting them.
144+
RUSTFLAGS_STAGE0 += -Z no-landing-pads
145+
142146
# platform-specific auto-configuration
143147
include $(CFG_SRC_DIR)mk/platform.mk
144148

branches/try/src/doc/guide-pointers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ This part is coming soon.
655655
# Returning Pointers
656656

657657
In many languages with pointers, you'd return a pointer from a function
658-
so as to avoid a copying a large data structure. For example:
658+
so as to avoid copying a large data structure. For example:
659659

660660
```{rust}
661661
struct BigStruct {

0 commit comments

Comments
 (0)