Skip to content

Commit ee6edb3

Browse files
committed
---
yaml --- r: 274647 b: refs/heads/stable c: 61e4f2e h: refs/heads/master i: 274645: 7db867a 274643: b124388 274639: 8dd0804
1 parent d8e732e commit ee6edb3

Some content is hidden

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

86 files changed

+539
-1277
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 3623797ebb9674322c4cfcfb0bb7b002afe17f11
32+
refs/heads/stable: 61e4f2eb71ec51fb572cce03d262dfa1281b81ed
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/configure

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,12 +1305,6 @@ $ pacman -R cmake && pacman -S mingw-w64-x86_64-cmake
13051305
putvar CFG_DISABLE_JEMALLOC
13061306
;;
13071307

1308-
*-emscripten)
1309-
step_msg "targeting emscripten, disabling jemalloc"
1310-
CFG_DISABLE_JEMALLOC=1
1311-
putvar CFG_DISABLE_JEMALLOC
1312-
;;
1313-
13141308
*)
13151309
;;
13161310
esac

branches/stable/man/rustdoc.1

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ rustdoc \- generate documentation from Rust source code
88
.SH DESCRIPTION
99
This tool generates API reference documentation by extracting comments from
1010
source code written in the Rust language, available at
11-
.UR https://www.rust\-lang.org
12-
.UE .
13-
It accepts several input formats and provides several output formats
14-
for the generated documentation.
11+
<\fBhttps://www.rust-lang.org\fR>. It accepts several input formats and
12+
provides several output formats for the generated documentation.
1513

1614
.SH OPTIONS
1715

@@ -131,9 +129,7 @@ The generated HTML can be viewed with any standard web browser.
131129
.BR rustc (1)
132130

133131
.SH "BUGS"
134-
See
135-
.UR https://github.com/rust\-lang/rust/issues
136-
.UE
132+
See <\fBhttps://github.com/rust\-lang/rust/issues\fR>
137133
for issues.
138134

139135
.SH "AUTHOR"

branches/stable/mk/cfg/asmjs-unknown-emscripten.mk

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

branches/stable/mk/cfg/i686-unknown-linux-musl.mk

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

branches/stable/mk/main.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,6 @@ export CFG_DISABLE_UNSTABLE_FEATURES
361361
export RUSTC_BOOTSTRAP_KEY:=$(CFG_BOOTSTRAP_KEY)
362362
endif
363363
export CFG_BOOTSTRAP_KEY
364-
ifdef CFG_MUSL_ROOT
365-
export CFG_MUSL_ROOT
366-
endif
367364

368365
######################################################################
369366
# Per-stage targets and runner

branches/stable/mk/rt.mk

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -254,15 +254,6 @@ ifeq ($$(findstring freebsd,$(1)),freebsd)
254254
COMPRT_CFLAGS_$(1) += -I/usr/include/c++/v1
255255
endif
256256

257-
ifeq ($$(findstring emscripten,$(1)),emscripten)
258-
259-
# FIXME: emscripten doesn't use compiler-rt and can't build it without
260-
# further hacks
261-
$$(COMPRT_LIB_$(1)):
262-
touch $$@
263-
264-
else
265-
266257
$$(COMPRT_LIB_$(1)): $$(COMPRT_DEPS) $$(MKFILE_DEPS)
267258
@$$(call E, make: compiler-rt)
268259
$$(Q)$$(MAKE) -C "$(S)src/compiler-rt" \
@@ -275,10 +266,7 @@ $$(COMPRT_LIB_$(1)): $$(COMPRT_DEPS) $$(MKFILE_DEPS)
275266
TargetTriple=$(1) \
276267
triple-builtins
277268
$$(Q)cp $$(COMPRT_BUILD_DIR_$(1))/triple/builtins/libcompiler_rt.a $$@
278-
279-
endif # if emscripten
280269
endif
281-
282270
################################################################################
283271
# libbacktrace
284272
#
@@ -313,12 +301,6 @@ $$(BACKTRACE_LIB_$(1)):
313301
touch $$@
314302
else
315303

316-
ifeq ($$(findstring emscripten,$(1)),emscripten)
317-
# FIXME: libbacktrace doesn't understand the emscripten triple
318-
$$(BACKTRACE_LIB_$(1)):
319-
touch $$@
320-
else
321-
322304
ifdef CFG_ENABLE_FAST_MAKE
323305
BACKTRACE_DEPS := $(S)/.gitmodules
324306
else
@@ -366,7 +348,6 @@ $$(BACKTRACE_LIB_$(1)): $$(BACKTRACE_BUILD_DIR_$(1))/Makefile $$(MKFILE_DEPS)
366348
INCDIR=$(S)src/libbacktrace
367349
$$(Q)cp $$(BACKTRACE_BUILD_DIR_$(1))/.libs/libbacktrace.a $$@
368350

369-
endif # endif for emscripten
370351
endif # endif for msvc
371352
endif # endif for ios
372353
endif # endif for darwin

branches/stable/src/compiletest/runtest.rs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,12 +1357,7 @@ fn make_lib_name(config: &Config, auxfile: &Path, testfile: &Path) -> PathBuf {
13571357

13581358
fn make_exe_name(config: &Config, testfile: &Path) -> PathBuf {
13591359
let mut f = output_base_name(config, testfile);
1360-
// FIXME: This is using the host architecture exe suffix, not target!
1361-
if config.target == "asmjs-unknown-emscripten" {
1362-
let mut fname = f.file_name().unwrap().to_os_string();
1363-
fname.push(".js");
1364-
f.set_file_name(&fname);
1365-
} else if !env::consts::EXE_SUFFIX.is_empty() {
1360+
if !env::consts::EXE_SUFFIX.is_empty() {
13661361
let mut fname = f.file_name().unwrap().to_os_string();
13671362
fname.push(env::consts::EXE_SUFFIX);
13681363
f.set_file_name(&fname);
@@ -1375,12 +1370,6 @@ fn make_run_args(config: &Config, props: &TestProps, testfile: &Path)
13751370
// If we've got another tool to run under (valgrind),
13761371
// then split apart its command
13771372
let mut args = split_maybe_args(&config.runtool);
1378-
1379-
// If this is emscripten, then run tests under nodejs
1380-
if config.target == "asmjs-unknown-emscripten" {
1381-
args.push("nodejs".to_owned());
1382-
}
1383-
13841373
let exe_file = make_exe_name(config, testfile);
13851374

13861375
// FIXME (#9639): This needs to handle non-utf8 paths

branches/stable/src/compiletest/util.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const OS_TABLE: &'static [(&'static str, &'static str)] = &[
2626
("win32", "windows"),
2727
("windows", "windows"),
2828
("solaris", "solaris"),
29-
("emscripten", "emscripten"),
3029
];
3130

3231
const ARCH_TABLE: &'static [(&'static str, &'static str)] = &[
@@ -45,7 +44,6 @@ const ARCH_TABLE: &'static [(&'static str, &'static str)] = &[
4544
("sparc", "sparc"),
4645
("x86_64", "x86_64"),
4746
("xcore", "xcore"),
48-
("asmjs", "asmjs"),
4947
];
5048

5149
pub fn get_os(triple: &str) -> &'static str {

branches/stable/src/doc/book/lang-items.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,11 @@ unsafe fn allocate(size: usize, _align: usize) -> *mut u8 {
3939

4040
p
4141
}
42-
4342
#[lang = "exchange_free"]
4443
unsafe fn deallocate(ptr: *mut u8, _size: usize, _align: usize) {
4544
libc::free(ptr as *mut libc::c_void)
4645
}
4746

48-
#[lang = "box_free"]
49-
unsafe fn box_free<T>(ptr: *mut T) {
50-
deallocate(ptr as *mut u8, ::core::mem::size_of::<T>(), ::core::mem::align_of::<T>());
51-
}
52-
5347
#[start]
5448
fn main(argc: isize, argv: *const *const u8) -> isize {
5549
let x = box 1;

0 commit comments

Comments
 (0)