Skip to content

Commit 6e0ccab

Browse files
committed
---
yaml --- r: 105326 b: refs/heads/master c: 7858065 h: refs/heads/master v: v3
1 parent 808ba14 commit 6e0ccab

File tree

249 files changed

+4444
-45591
lines changed

Some content is hidden

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

249 files changed

+4444
-45591
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 6ff3c9995e63b63c16d13739a0fc2d321f95410e
2+
refs/heads/master: 78580651131c9daacd7e5e4669af819cdd719f09
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
55
refs/heads/try: db814977d07bd798feb24f6b74c00800ef458a13

trunk/mk/crates.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ HOST_CRATES := syntax rustc rustdoc fourcc hexfloat
5555
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
5656
TOOLS := compiletest rustdoc rustc
5757

58-
DEPS_std := native:rustrt native:compiler-rt native:backtrace
58+
DEPS_std := native:rustrt native:compiler-rt
5959
DEPS_extra := std term sync serialize getopts collections time rand
6060
DEPS_green := std rand native:context_switch
6161
DEPS_rustuv := std native:uv native:uv_support

trunk/mk/platform.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ CFG_PATH_MUNGE_arm-unknown-linux-gnueabihf := true
330330
CFG_LDPATH_arm-unknown-linux-gnueabihf :=
331331
CFG_RUN_arm-unknown-linux-gnueabihf=$(2)
332332
CFG_RUN_TARG_arm-unknown-linux-gnueabihf=$(call CFG_RUN_arm-unknown-linux-gnueabihf,,$(2))
333-
RUSTC_FLAGS_arm-unknown-linux-gnueabihf := -C target-feature=+v7,+vfp3
333+
RUSTC_FLAGS_arm-unknown-linux-gnueabihf :=
334334
RUSTC_CROSS_FLAGS_arm-unknown-linux-gnueabihf :=
335335

336336
# arm-unknown-linux-gnueabi configuration

trunk/mk/rt.mk

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -249,73 +249,6 @@ $$(COMPRT_LIB_$(1)): $$(COMPRT_DEPS) $$(MKFILE_DEPS)
249249
triple-runtime
250250
$$(Q)cp $$(COMPRT_BUILD_DIR_$(1))/triple/runtime/libcompiler_rt.a $$(COMPRT_LIB_$(1))
251251

252-
################################################################################
253-
# libbacktrace
254-
#
255-
# We use libbacktrace on linux to get symbols in backtraces, but only on linux.
256-
# Elsewhere we use other system utilities, so this library is only built on
257-
# linux.
258-
################################################################################
259-
260-
BACKTRACE_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),backtrace)
261-
BACKTRACE_LIB_$(1) := $$(RT_OUTPUT_DIR_$(1))/$$(BACKTRACE_NAME_$(1))
262-
BACKTRACE_BUILD_DIR_$(1) := $$(RT_OUTPUT_DIR_$(1))/libbacktrace
263-
264-
ifeq ($$(findstring darwin,$$(OSTYPE_$(1))),darwin)
265-
266-
# We don't use this on platforms that aren't linux-based, so just make the file
267-
# available, the compilation of libstd won't actually build it.
268-
$$(BACKTRACE_LIB_$(1)):
269-
touch $$@
270-
271-
else
272-
ifeq ($$(CFG_WINDOWSY_$(1)),1)
273-
$$(BACKTRACE_LIB_$(1)):
274-
touch $$@
275-
else
276-
277-
ifdef CFG_ENABLE_FAST_MAKE
278-
BACKTRACE_DEPS := $(S)/.gitmodules
279-
else
280-
BACKTRACE_DEPS := $(wildcard $(S)src/libbacktrace/*)
281-
endif
282-
283-
# We need to export CFLAGS because otherwise it doesn't pick up cross compile
284-
# builds. If libbacktrace doesn't realize this, it will attempt to read 64-bit
285-
# elf headers when compiled for a 32-bit system, yielding blank backtraces.
286-
#
287-
# This also removes the -Werror flag specifically to prevent errors during
288-
# configuration.
289-
#
290-
# Down below you'll also see echos into the config.h generated by the
291-
# ./configure script. This is done to force libbacktrace to *not* use the
292-
# atomic/sync functionality because it pulls in unnecessary dependencies and we
293-
# never use it anyway.
294-
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: \
295-
export CFLAGS:=$$(CFG_GCCISH_CFLAGS_$(1):-Werror=) \
296-
-fno-stack-protector
297-
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: export CC:=$$(CC_$(1))
298-
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: export AR:=$$(AR_$(1))
299-
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: export RANLIB:=$$(AR_$(1)) s
300-
$$(BACKTRACE_BUILD_DIR_$(1))/Makefile: $$(BACKTRACE_DEPS) $$(MKFILE_DEPS)
301-
$$(Q)rm -rf $$(BACKTRACE_BUILD_DIR_$(1))
302-
$$(Q)mkdir -p $$(BACKTRACE_BUILD_DIR_$(1))
303-
$$(Q)(cd $$(BACKTRACE_BUILD_DIR_$(1)) && \
304-
$(S)src/libbacktrace/configure --target=$(1) --host=$(CFG_BUILD))
305-
$$(Q)echo '#undef HAVE_ATOMIC_FUNCTIONS' >> \
306-
$$(BACKTRACE_BUILD_DIR_$(1))/config.h
307-
$$(Q)echo '#undef HAVE_SYNC_FUNCTIONS' >> \
308-
$$(BACKTRACE_BUILD_DIR_$(1))/config.h
309-
310-
$$(BACKTRACE_LIB_$(1)): $$(BACKTRACE_BUILD_DIR_$(1))/Makefile $$(MKFILE_DEPS)
311-
@$$(call E, make: libbacktrace)
312-
$$(Q)$$(MAKE) -C $$(BACKTRACE_BUILD_DIR_$(1)) \
313-
INCDIR=$(S)src/libbacktrace
314-
$$(Q)cp $$(BACKTRACE_BUILD_DIR_$(1))/.libs/libbacktrace.a $$@
315-
316-
endif # endif for windowsy
317-
endif # endif for darwin
318-
319252
endef
320253

321254
# Instantiate template for all stages/targets

trunk/mk/tests.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ tidy:
240240
| grep '^$(S)src/libuv' -v \
241241
| grep '^$(S)src/llvm' -v \
242242
| grep '^$(S)src/gyp' -v \
243-
| grep '^$(S)src/libbacktrace' -v \
244243
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
245244
$(Q)find $(S)src/etc -name '*.py' \
246245
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
@@ -267,7 +266,6 @@ tidy:
267266
| grep '^$(S)src/etc' -v \
268267
| grep '^$(S)src/doc' -v \
269268
| grep '^$(S)src/compiler-rt' -v \
270-
| grep '^$(S)src/libbacktrace' -v \
271269
| xargs $(CFG_PYTHON) $(S)src/etc/check-binaries.py
272270

273271
endif

trunk/src/compiletest/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub fn load_errors(testfile: &Path) -> ~[ExpectedError] {
1919
let mut rdr = BufferedReader::new(File::open(testfile).unwrap());
2020
let mut line_num = 1u;
2121
for ln in rdr.lines() {
22-
error_patterns.push_all_move(parse_expected(line_num, ln.unwrap()));
22+
error_patterns.push_all_move(parse_expected(line_num, ln));
2323
line_num += 1u;
2424
}
2525
return error_patterns;

trunk/src/compiletest/header.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ fn iter_header(testfile: &Path, it: |&str| -> bool) -> bool {
140140
// Assume that any directives will be found before the first
141141
// module or function. This doesn't seem to be an optimization
142142
// with a warm page cache. Maybe with a cold one.
143-
let ln = ln.unwrap();
144143
if ln.starts_with("fn") || ln.starts_with("mod") {
145144
return true;
146145
} else { if !(it(ln.trim())) { return false; } }

0 commit comments

Comments
 (0)