Skip to content

Commit 10d74fb

Browse files
committed
---
yaml --- r: 155095 b: refs/heads/try2 c: 134c1e9 h: refs/heads/master i: 155093: 57a3368 155091: 9bd82da 155087: 4a5a95f v: v3
1 parent 978efd3 commit 10d74fb

File tree

166 files changed

+5471
-5599
lines changed

Some content is hidden

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

166 files changed

+5471
-5599
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: e4771d142bb6faab0f0aaeb9d238ca446ff16281
8+
refs/heads/try2: 134c1e954ebcf8b02319c81dd433ac71cddf4b55
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/mk/crates.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 arena
73+
DEPS_syntax := std term serialize log fmt_macros debug
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/try2/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/try2/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 a+x \
286+
$(Q)find $(S)src -type f -perm +111 \
287287
-not -name '*.rs' -and -not -name '*.py' \
288288
-and -not -name '*.sh' \
289289
| grep '^$(S)src/jemalloc' -v \

branches/try2/src/compiletest/runtest.rs

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

2222
use std::io::File;
23-
use std::io::fs::PathExtensions;
2423
use std::io::fs;
2524
use std::io::net::tcp;
2625
use std::io::process::ProcessExit;
@@ -483,12 +482,12 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) {
483482
// GDB's script auto loading safe path ...
484483
script_str.push_str(
485484
format!("add-auto-load-safe-path {}\n",
486-
rust_pp_module_abs_path.replace("\\", "\\\\").as_slice())
485+
rust_pp_module_abs_path.as_slice())
487486
.as_slice());
488487
// ... and also the test directory
489488
script_str.push_str(
490489
format!("add-auto-load-safe-path {}\n",
491-
config.build_base.as_str().unwrap().replace("\\", "\\\\"))
490+
config.build_base.as_str().unwrap())
492491
.as_slice());
493492
}
494493
}
@@ -500,7 +499,7 @@ fn run_debuginfo_gdb_test(config: &Config, props: &TestProps, testfile: &Path) {
500499

501500
// Load the target executable
502501
script_str.push_str(format!("file {}\n",
503-
exe_file.as_str().unwrap().replace("\\", "\\\\"))
502+
exe_file.as_str().unwrap())
504503
.as_slice());
505504

506505
script_str.push_str(cmds.as_slice());

branches/try2/src/doc/guide-ffi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ A basic example is:
209209
Rust code:
210210

211211
~~~~no_run
212-
extern fn callback(a: i32) {
212+
extern fn callback(a:i32) {
213213
println!("I'm called from C with value {0}", a);
214214
}
215215
@@ -243,7 +243,7 @@ void trigger_callback() {
243243
}
244244
~~~~
245245
246-
In this example Rust's `main()` will call `trigger_callback()` in C,
246+
In this example Rust's `main()` will call `do_callback()` in C,
247247
which would, in turn, call back to `callback()` in Rust.
248248
249249
@@ -269,7 +269,7 @@ struct RustObject {
269269
// other members
270270
}
271271
272-
extern "C" fn callback(target: *mut RustObject, a: i32) {
272+
extern "C" fn callback(target: *mut RustObject, a:i32) {
273273
println!("I'm called from C with value {0}", a);
274274
unsafe {
275275
// Update the value in RustObject with the value received from the callback

0 commit comments

Comments
 (0)