Skip to content

Commit 2c26894

Browse files
committed
---
yaml --- r: 15431 b: refs/heads/try c: 9e726b0 h: refs/heads/master i: 15429: 4f08686 15427: 99f70a4 15423: 08de5e2 v: v3
1 parent 6a11902 commit 2c26894

File tree

5 files changed

+10
-65
lines changed

5 files changed

+10
-65
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 2c93b1b2df6500ca52bd2f1ffb179acc0bf368c4
5+
refs/heads/try: 9e726b0461018abf6c9436e2dcd7b91cf1f15d97
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/configure

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,7 @@ opt fast-make 0 "use .gitmodules as timestamp for submodule deps"
294294
opt manage-submodules 1 "let the build manage the git submodules"
295295
opt mingw-cross 0 "cross-compile for win32 using mingw"
296296
opt clang 0 "prefer clang to gcc for building the runtime"
297-
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
298297
valopt prefix "/usr/local" "set installation prefix"
299-
valopt local-rust-root "/usr/local" "set prefix for local rust binary"
300298
valopt llvm-root "" "set LLVM root"
301299
valopt host-triple "${DEFAULT_HOST_TRIPLE}" "LLVM host triple"
302300
valopt target-triples "${CFG_HOST_TRIPLE}" "LLVM target triples"
@@ -339,6 +337,7 @@ probe CFG_XETEX xetex
339337
probe CFG_LUATEX luatex
340338
probe CFG_NODE nodejs node
341339

340+
342341
if [ ! -z "$CFG_PANDOC" ]
343342
then
344343
PV=$(pandoc --version | awk '/^pandoc/ {print $2}')
@@ -349,14 +348,6 @@ then
349348
fi
350349
fi
351350

352-
if [ ! -z "$CFG_ENABLE_LOCAL_RUST" -a ! -f ${CFG_LOCAL_RUST_ROOT}/bin/rustc ]
353-
then
354-
err "no local rust to use"
355-
else
356-
LRV=`${CFG_LOCAL_RUST_ROOT}/bin/rustc --version`
357-
step_msg "using rustc at: ${CFG_LOCAL_RUST_ROOT} with version: " $LRV
358-
fi
359-
360351
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
361352
then
362353
err "either clang or gcc is required"
@@ -725,6 +716,7 @@ do
725716
putvar $CFG_LLVM_INST_DIR
726717
done
727718

719+
728720
# Munge any paths that appear in config.mk back to posix-y
729721
perl -i.bak -p -e 's@ ([a-zA-Z]):[/\\]@ /\1/@go;' \
730722
-e 's@\\@/@go;' config.tmp

branches/try/doc/tutorial.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,6 +1476,13 @@ fn make_person(+name: str, +address: str) -> person {
14761476
}
14771477
~~~~
14781478

1479+
Finally there is by-move style, written `-`. This indicates that the
1480+
function will take ownership of the argument, like with by-copy style,
1481+
but a copy must not be made. The caller is (statically) obliged to not
1482+
use the argument after the call; it is de-initialized as part of the
1483+
call. This is used to support ownership-passing in the presence of
1484+
non-copyable types.
1485+
14791486
# Generics
14801487

14811488
## Generic functions

branches/try/mk/stage0.mk

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# Extract the snapshot host compiler
22

3-
4-
53
$(HBIN0_H_$(CFG_HOST_TRIPLE))/rustc$(X): \
64
$(S)src/snapshots.txt \
75
$(S)src/etc/get-snapshot.py $(MKFILE_DEPS)
86
@$(call E, fetch: $@)
97
# Note: the variable "SNAPSHOT_FILE" is generally not set, and so
108
# we generally only pass one argument to this script.
11-
ifdef CFG_ENABLE_LOCAL_RUST
12-
$(Q)$(S)src/etc/local_stage0.sh $(CFG_HOST_TRIPLE) $(CFG_LOCAL_RUST_ROOT)
13-
else
149
$(Q)$(S)src/etc/get-snapshot.py $(CFG_HOST_TRIPLE) $(SNAPSHOT_FILE)
15-
endif
1610
$(Q)touch $@
1711

1812
# Host libs will be extracted by the above rule

branches/try/src/etc/local_stage0.sh

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)