Skip to content

Commit d45915e

Browse files
committed
---
yaml --- r: 40227 b: refs/heads/dist-snap c: 4912428 h: refs/heads/master i: 40225: aa4d63e 40223: 8f5e8de v: v3
1 parent 0dcabd5 commit d45915e

File tree

468 files changed

+6269
-10484
lines changed

Some content is hidden

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

468 files changed

+6269
-10484
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
99
refs/heads/incoming: e90142e536c150df0d9b4b2f11352152177509b5
10-
refs/heads/dist-snap: 209395284799bb86e34cf59493c539a35f6150dd
10+
refs/heads/dist-snap: 4912428cb5c5b4bf9e575673e5480b5f269353db
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,3 @@ tmp.*.rs
8080
config.stamp
8181
.DS_Store
8282
src/etc/dl
83-
.settings/

branches/dist-snap/.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "src/libuv"]
55
path = src/libuv
66
url = git://github.com/graydon/libuv.git
7+
[submodule "src/linenoise"]
8+
path = src/linenoise
9+
url = git://github.com/antirez/linenoise.git

branches/dist-snap/AUTHORS.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Benjamin Peterson <[email protected]>
2323
Brendan Eich <[email protected]>
2424
Brian Anderson <[email protected]>
2525
Brian J. Burg <[email protected]>
26+
Brian Leibig <[email protected]>
2627
Chris Double <[email protected]>
2728
Chris Peterson <[email protected]>
2829
Damian Gryski <[email protected]>
@@ -41,7 +42,6 @@ Erick Tryzelaar <[email protected]>
4142
Erik Rose <[email protected]>
4243
Evan McClanahan <[email protected]>
4344
Francisco Souza <[email protected]>
44-
4545
Gareth Daniel Smith <[email protected]>
4646
Glenn Willen <[email protected]>
4747
Gonçalo Cabrita <[email protected]>
@@ -73,9 +73,7 @@ Kevin Cantu <[email protected]>
7373
Lennart Kudling
7474
Lindsey Kuper <[email protected]>
7575
Luca Bruno <[email protected]>
76-
Luqman Aden <[email protected]>
7776
Magnus Auvinen <[email protected]>
78-
Mahmut Bulut <[email protected]>
7977
Margaret Meyerhofer <[email protected]>
8078
Marijn Haverbeke <[email protected]>
8179
Matt Brubeck <[email protected]>
@@ -108,7 +106,6 @@ Tim Chevalier <[email protected]>
108106
109107
Tomoki Aonuma <[email protected]>
110108
Tycho Sci <[email protected]>
111-
Viktor Dahl <[email protected]>
112109
Vincent Belliard <[email protected]>
113110
Wade Mealing <[email protected]>
114111
Yasuhiro Fujii <[email protected]>

branches/dist-snap/Makefile.in

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ endif
7474

7575
CFG_RUSTC_FLAGS := $(RUSTFLAGS)
7676
CFG_GCCISH_CFLAGS :=
77+
CFG_GCCISH_CXXFLAGS :=
7778
CFG_GCCISH_LINK_FLAGS :=
7879

7980
ifdef CFG_DISABLE_OPTIMIZE
@@ -132,7 +133,7 @@ LIBSYNTAX_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,syntax)
132133

133134
# version-string calculation
134135
CFG_GIT_DIR := $(CFG_SRC_DIR).git
135-
CFG_RELEASE = 0.5
136+
CFG_RELEASE = 0.4
136137
CFG_VERSION = $(CFG_RELEASE)
137138

138139
ifneq ($(wildcard $(CFG_GIT)),)
@@ -144,9 +145,8 @@ ifneq ($(wildcard $(CFG_GIT_DIR)),)
144145
endif
145146
endif
146147

147-
ifdef CFG_ENABLE_VALGRIND
148-
$(info cfg: enabling valgrind (CFG_ENABLE_VALGRIND))
149-
else
148+
ifdef CFG_DISABLE_VALGRIND
149+
$(info cfg: disabling valgrind (CFG_DISABLE_VALGRIND))
150150
CFG_VALGRIND :=
151151
endif
152152
ifdef CFG_BAD_VALGRIND
@@ -450,9 +450,10 @@ TSREQS := \
450450
$(SREQ3_T_$(target)_H_$(CFG_HOST_TRIPLE)))
451451
FUZZ := $(HBIN2_H_$(CFG_HOST_TRIPLE))/fuzzer$(X)
452452
CARGO := $(HBIN2_H_$(CFG_HOST_TRIPLE))/cargo$(X)
453+
RUSTI := $(HBIN2_H_$(CFG_HOST_TRIPLE))/rusti$(X)
453454
RUSTDOC := $(HBIN2_H_$(CFG_HOST_TRIPLE))/rustdoc$(X)
454455

455-
all: rustc $(GENERATED) docs $(FUZZ) $(CARGO) $(RUSTDOC)
456+
all: rustc $(GENERATED) docs $(FUZZ) $(CARGO) $(RUSTDOC) $(RUSTI)
456457

457458
endif
458459

branches/dist-snap/configure

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ need_cmd cmp
187187
need_cmd mkdir
188188
need_cmd printf
189189
need_cmd cut
190-
need_cmd head
191190
need_cmd grep
192191
need_cmd xargs
193192
need_cmd cp
@@ -258,16 +257,6 @@ case $CFG_CPUTYPE in
258257
err "unknown CPU type: $CFG_CPUTYPE"
259258
esac
260259

261-
# Detect 64 bit linux systems with 32 bit userland and force 32 bit compilation
262-
if [ $CFG_OSTYPE = unknown-linux-gnu -a $CFG_CPUTYPE = x86_64 ]
263-
then
264-
file -L "$SHELL" | grep -q "x86[_-]64"
265-
if [ $? != 0 ]; then
266-
CFG_CPUTYPE=i686
267-
fi
268-
fi
269-
270-
271260
DEFAULT_HOST_TRIPLE="${CFG_CPUTYPE}-${CFG_OSTYPE}"
272261

273262
CFG_SRC_DIR="$(cd $(dirname $0) && pwd)/"
@@ -294,7 +283,7 @@ else
294283
fi
295284

296285
opt sharedstd 1 "build libstd as a shared library"
297-
opt valgrind 0 "run tests with valgrind (memcheck by default)"
286+
opt valgrind 1 "run tests with valgrind (memcheck by default)"
298287
opt helgrind 0 "run tests with helgrind instead of memcheck"
299288
opt docs 1 "build documentation"
300289
opt optimize 1 "build optimized rust code"
@@ -363,16 +352,11 @@ fi
363352

364353
if [ ! -z "$CFG_PANDOC" ]
365354
then
366-
PANDOC_VER_LINE=$(pandoc --version | grep '^pandoc ')
367-
PANDOC_VER=${PANDOC_VER_LINE#pandoc }
368-
PV_MAJOR_MINOR=${PANDOC_VER%.[0-9]*}
369-
PV_MAJOR=${PV_MAJOR_MINOR%%[.][0-9]*}
370-
PV_MINOR=${PV_MAJOR_MINOR#[0-9]*[.]}
371-
PV_MINOR=${PV_MINOR%%[.][0-9]*}
372-
if [ "$PV_MAJOR" -lt "1" ] || [ "$PV_MINOR" -lt "8" ]
355+
PV=$(pandoc --version | awk '/^pandoc/ {print $2}')
356+
if [ "$PV" \< "1.8" ]
373357
then
374-
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. disabling"
375-
BAD_PANDOC=1
358+
step_msg "pandoc $PV is too old. disabling"
359+
BAD_PANDOC=1
376360
fi
377361
fi
378362

@@ -524,6 +508,12 @@ do
524508
make_dir rustllvm/$t
525509
done
526510

511+
make_dir linenoise
512+
for t in $CFG_TARGET_TRIPLES
513+
do
514+
make_dir linenoise/$t
515+
done
516+
527517
make_dir rt
528518
for t in $CFG_TARGET_TRIPLES
529519
do
@@ -595,7 +585,7 @@ then
595585
need_ok "git failed"
596586

597587
msg "git: submodule foreach sync"
598-
"${CFG_GIT}" submodule --quiet foreach --recursive 'if test -e .gitmodules; then git submodule sync; fi'
588+
"${CFG_GIT}" submodule --quiet foreach --recursive git submodule sync
599589
need_ok "git failed"
600590

601591
msg "git: submodule foreach update"

0 commit comments

Comments
 (0)