Skip to content

Commit fc3edda

Browse files
committed
---
yaml --- r: 133757 b: refs/heads/snap-stage3 c: 12b757b h: refs/heads/master i: 133755: d6b3cf9 v: v3
1 parent 2627ac5 commit fc3edda

File tree

455 files changed

+13193
-9949
lines changed

Some content is hidden

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

455 files changed

+13193
-9949
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 0e784e16840e8a0c623cc6166de26da9334db3d6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f1c4e476e9ecfcbcce167ce2c34840ccee71a1d4
4+
refs/heads/snap-stage3: 12b757b370a2f1138139b507da776d4aa32f2db9
55
refs/heads/try: 777654cfccbfa39bc7f671d8e9629018ed8ca12d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/configure

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,12 @@ fi
475475
step_msg "validating $CFG_SELF args"
476476
validate_opt
477477

478+
# Temporarily support the old windows triples while the bots make the transition
479+
# XXX Remove me
480+
CFG_BUILD=`echo "${CFG_BUILD}" | sed 's/-pc-mingw32/-w64-mingw32/g'`
481+
CFG_HOST=`echo "${CFG_HOST}" | sed 's/-pc-mingw32/-w64-mingw32/g'`
482+
CFG_TARGET=`echo "${CFG_TARGET}" | sed 's/-pc-mingw32/-w64-mingw32/g'`
483+
478484
step_msg "looking for build programs"
479485

480486
probe_need CFG_PERL perl

branches/snap-stage3/mk/crates.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CRATES := $(TARGET_CRATES) $(HOST_CRATES)
5959
TOOLS := compiletest rustdoc rustc
6060

6161
DEPS_core :=
62-
DEPS_rlibc :=
62+
DEPS_rlibc := core
6363
DEPS_unicode := core
6464
DEPS_alloc := core libc native:jemalloc
6565
DEPS_debug := std
@@ -70,7 +70,7 @@ DEPS_graphviz := std
7070
DEPS_green := std native:context_switch
7171
DEPS_rustuv := std native:uv native:uv_support
7272
DEPS_native := std
73-
DEPS_syntax := std term serialize log fmt_macros debug
73+
DEPS_syntax := std term serialize log fmt_macros debug arena
7474
DEPS_rustc := syntax flate arena serialize getopts rbml \
7575
time log graphviz debug rustc_llvm rustc_back
7676
DEPS_rustc_llvm := native:rustllvm libc std

branches/snap-stage3/mk/platform.mk

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -433,36 +433,6 @@ CFG_RUN_mips-unknown-linux-gnu=
433433
CFG_RUN_TARG_mips-unknown-linux-gnu=
434434
RUSTC_FLAGS_mips-unknown-linux-gnu := -C target-cpu=mips32r2 -C target-feature="+mips32r2,+o32" -C soft-float
435435

436-
# i686-pc-mingw32 configuration
437-
CC_i686-pc-mingw32=$(CC)
438-
CXX_i686-pc-mingw32=$(CXX)
439-
CPP_i686-pc-mingw32=$(CPP)
440-
AR_i686-pc-mingw32=$(AR)
441-
CFG_LIB_NAME_i686-pc-mingw32=$(1).dll
442-
CFG_STATIC_LIB_NAME_i686-pc-mingw32=$(1).lib
443-
CFG_LIB_GLOB_i686-pc-mingw32=$(1)-*.dll
444-
CFG_LIB_DSYM_GLOB_i686-pc-mingw32=$(1)-*.dylib.dSYM
445-
CFG_CFLAGS_mips-i686-pc-mingw32 := -m32 -march=i686 -D_WIN32_WINNT=0x0600 $(CFLAGS)
446-
CFG_GCCISH_CFLAGS_i686-pc-mingw32 := -Wall -Werror -g -m32 -march=i686 -D_WIN32_WINNT=0x0600 -I$(CFG_SRC_DIR)src/etc/mingw-fix-include $(CFLAGS)
447-
CFG_GCCISH_CXXFLAGS_i686-pc-mingw32 := -fno-rtti $(CXXFLAGS)
448-
CFG_GCCISH_LINK_FLAGS_i686-pc-mingw32 := -shared -fPIC -g -m32
449-
CFG_GCCISH_DEF_FLAG_i686-pc-mingw32 :=
450-
CFG_GCCISH_PRE_LIB_FLAGS_i686-pc-mingw32 :=
451-
CFG_GCCISH_POST_LIB_FLAGS_i686-pc-mingw32 :=
452-
CFG_DEF_SUFFIX_i686-pc-mingw32 := .mingw32.def
453-
CFG_LLC_FLAGS_i686-pc-mingw32 :=
454-
CFG_INSTALL_NAME_i686-pc-mingw32 =
455-
CFG_LIBUV_LINK_FLAGS_i686-pc-mingw32 := -lws2_32 -lpsapi -liphlpapi
456-
CFG_LLVM_BUILD_ENV_i686-pc-mingw32 := CPATH=$(CFG_SRC_DIR)src/etc/mingw-fix-include
457-
CFG_EXE_SUFFIX_i686-pc-mingw32 := .exe
458-
CFG_WINDOWSY_i686-pc-mingw32 := 1
459-
CFG_UNIXY_i686-pc-mingw32 :=
460-
CFG_PATH_MUNGE_i686-pc-mingw32 :=
461-
CFG_LDPATH_i686-pc-mingw32 :=$(CFG_LDPATH_i686-pc-mingw32):$(PATH)
462-
CFG_RUN_i686-pc-mingw32=PATH="$(CFG_LDPATH_i686-pc-mingw32):$(1)" $(2)
463-
CFG_RUN_TARG_i686-pc-mingw32=$(call CFG_RUN_i686-pc-mingw32,$(HLIB$(1)_H_$(CFG_BUILD)),$(2))
464-
RUSTC_FLAGS_i686-pc-mingw32=-C link-args="-Wl,--large-address-aware"
465-
466436
# i586-mingw32msvc configuration
467437
CC_i586-mingw32msvc=$(CFG_MINGW32_CROSS_PATH)/bin/i586-mingw32msvc-gcc
468438
CXX_i586-mingw32msvc=$(CFG_MINGW32_CROSS_PATH)/bin/i586-mingw32msvc-g++
@@ -503,7 +473,7 @@ CFG_LIB_NAME_i686-w64-mingw32=$(1).dll
503473
CFG_STATIC_LIB_NAME_i686-w64-mingw32=$(1).lib
504474
CFG_LIB_GLOB_i686-w64-mingw32=$(1)-*.dll
505475
CFG_LIB_DSYM_GLOB_i686-w64-mingw32=$(1)-*.dylib.dSYM
506-
CFG_CFLAGS_i586-w64-mingw32 := -march=i586 -m32 -D_WIN32_WINNT=0x0600 $(CFLAGS)
476+
CFG_CFLAGS_i686-w64-mingw32 := -march=i686 -m32 -D_WIN32_WINNT=0x0600 $(CFLAGS)
507477
CFG_GCCISH_CFLAGS_i686-w64-mingw32 := -Wall -Werror -g -m32 -D_WIN32_WINNT=0x0600 $(CFLAGS)
508478
CFG_GCCISH_CXXFLAGS_i686-w64-mingw32 := -fno-rtti $(CXXFLAGS)
509479
CFG_GCCISH_LINK_FLAGS_i686-w64-mingw32 := -shared -g -m32
@@ -521,6 +491,8 @@ CFG_PATH_MUNGE_i686-w64-mingw32 :=
521491
CFG_LDPATH_i686-w64-mingw32 :=$(CFG_LDPATH_i686-w64-mingw32):$(PATH)
522492
CFG_RUN_i686-w64-mingw32=PATH="$(CFG_LDPATH_i686-w64-mingw32):$(1)" $(2)
523493
CFG_RUN_TARG_i686-w64-mingw32=$(call CFG_RUN_i686-w64-mingw32,$(HLIB$(1)_H_$(CFG_BUILD)),$(2))
494+
# Stop rustc from OOMing when building itself (I think)
495+
RUSTC_FLAGS_i686-w64-mingw32=-C link-args="-Wl,--large-address-aware"
524496
RUSTC_CROSS_FLAGS_i686-w64-mingw32 :=
525497

526498
# x86_64-w64-mingw32 configuration

branches/snap-stage3/mk/rt.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ JEMALLOC_DEPS := $(wildcard \
288288
$(S)src/jemalloc/*/*/*/*)
289289
endif
290290

291+
# See #17183 for details, this file is touched during the build process so we
292+
# don't want to consider it as a dependency.
293+
JEMALLOC_DEPS := $(filter-out $(S)src/jemalloc/VERSION,$(JEMALLOC_DEPS))
294+
291295
JEMALLOC_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),jemalloc)
292296
ifeq ($$(CFG_WINDOWSY_$(1)),1)
293297
JEMALLOC_REAL_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),jemalloc_s)

branches/snap-stage3/mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ tidy:
283283
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
284284
$(Q)echo $(ALL_HS) \
285285
| xargs -n 10 $(CFG_PYTHON) $(S)src/etc/tidy.py
286-
$(Q)find $(S)src -type f -perm +111 \
286+
$(Q)find $(S)src -type f -perm a+x \
287287
-not -name '*.rs' -and -not -name '*.py' \
288288
-and -not -name '*.sh' \
289289
| grep '^$(S)src/jemalloc' -v \

branches/snap-stage3/src/compiletest/compiletest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ pub fn run_tests(config: &Config) {
259259
// parallel (especially when we have lots and lots of child processes).
260260
// For context, see #8904
261261
io::test::raise_fd_limit();
262-
let res = test::run_tests_console(&opts, tests.move_iter().collect());
262+
let res = test::run_tests_console(&opts, tests.into_iter().collect());
263263
match res {
264264
Ok(true) => {}
265265
Ok(false) => fail!("Some tests failed"),
@@ -400,4 +400,4 @@ fn extract_gdb_version(full_version_line: Option<String>) -> Option<String> {
400400
},
401401
_ => None
402402
}
403-
}
403+
}

branches/snap-stage3/src/compiletest/procsrv.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn run(lib_path: &str,
4040
let mut cmd = Command::new(prog);
4141
cmd.args(args);
4242
add_target_env(&mut cmd, lib_path, aux_path);
43-
for (key, val) in env.move_iter() {
43+
for (key, val) in env.into_iter() {
4444
cmd.env(key, val);
4545
}
4646

@@ -72,7 +72,7 @@ pub fn run_background(lib_path: &str,
7272
let mut cmd = Command::new(prog);
7373
cmd.args(args);
7474
add_target_env(&mut cmd, lib_path, aux_path);
75-
for (key, val) in env.move_iter() {
75+
for (key, val) in env.into_iter() {
7676
cmd.env(key, val);
7777
}
7878

branches/snap-stage3/src/compiletest/runtest.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use util::logv;
2020
use util;
2121

2222
use std::io::File;
23+
use std::io::fs::PathExtensions;
2324
use std::io::fs;
2425
use std::io::net::tcp;
2526
use std::io::process::ProcessExit;
@@ -482,12 +483,12 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) {
482483
// GDB's script auto loading safe path ...
483484
script_str.push_str(
484485
format!("add-auto-load-safe-path {}\n",
485-
rust_pp_module_abs_path.as_slice())
486+
rust_pp_module_abs_path.replace("\\", "\\\\").as_slice())
486487
.as_slice());
487488
// ... and also the test directory
488489
script_str.push_str(
489490
format!("add-auto-load-safe-path {}\n",
490-
config.build_base.as_str().unwrap())
491+
config.build_base.as_str().unwrap().replace("\\", "\\\\"))
491492
.as_slice());
492493
}
493494
}
@@ -499,7 +500,7 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) {
499500

500501
// Load the target executable
501502
script_str.push_str(format!("file {}\n",
502-
exe_file.as_str().unwrap())
503+
exe_file.as_str().unwrap().replace("\\", "\\\\"))
503504
.as_slice());
504505

505506
script_str.push_str(cmds.as_slice());
@@ -767,7 +768,7 @@ fn cleanup_debug_info_options(options: &Option<String>) -> Option<String> {
767768
"--debuginfo".to_string()
768769
];
769770
let new_options =
770-
split_maybe_args(options).move_iter()
771+
split_maybe_args(options).into_iter()
771772
.filter(|x| !options_to_remove.contains(x))
772773
.collect::<Vec<String>>()
773774
.connect(" ");
@@ -1460,7 +1461,7 @@ fn _arm_exec_compiled_test(config: &Config,
14601461

14611462
// run test via adb_run_wrapper
14621463
runargs.push("shell".to_string());
1463-
for (key, val) in env.move_iter() {
1464+
for (key, val) in env.into_iter() {
14641465
runargs.push(format!("{}={}", key, val));
14651466
}
14661467
runargs.push(format!("{}/adb_run_wrapper.sh", config.adb_test_dir));

0 commit comments

Comments
 (0)