Skip to content

Commit da1c4c0

Browse files
committed
---
yaml --- r: 274659 b: refs/heads/stable c: e06f692 h: refs/heads/master i: 274657: a8382cb 274655: 7a7dfc2
1 parent 1fa7452 commit da1c4c0

File tree

309 files changed

+5485
-90084
lines changed

Some content is hidden

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

309 files changed

+5485
-90084
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: d1bfe9bccf8a1632ffb8d29ee97be137a0e71045
32+
refs/heads/stable: e06f6928cb840a018706cabf75ab2bf3807551b1
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,12 @@ Some common make targets are:
131131
& everything builds in the correct manner.
132132
- `make check-stage1-std NO_REBUILD=1` - test the standard library without
133133
rebuilding the entire compiler
134-
- `make check TESTNAME=<path-to-test-file>.rs` - Run a single test file
135-
- `make check-stage1-rpass TESTNAME=<path-to-test-file>.rs` - Run a single
134+
- `make check TESTNAME=<substring-of-test-name>` - Run a matching set of tests.
135+
- `TESTNAME` should be a substring of the tests to match against e.g. it could
136+
be the fully qualified test name, or just a part of it.
137+
`TESTNAME=collections::hash::map::test_map::test_capacity_not_less_than_len`
138+
or `TESTNAME=test_capacity_not_less_than_len`.
139+
- `make check-stage1-rpass TESTNAME=<substring-of-test-name>` - Run a single
136140
rpass test with the stage1 compiler (this will be quicker than running the
137141
command above as we only build the stage1 compiler, not the entire thing).
138142
You can also leave off the `-rpass` to run all stage1 test types.

branches/stable/COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terms.
66

77
Longer version:
88

9-
The Rust Project is copyright 2016, The Rust Project
9+
The Rust Project is copyright 2010, The Rust Project
1010
Developers.
1111

1212
Licensed under the Apache License, Version 2.0

branches/stable/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016 The Rust Project Developers
1+
Copyright (c) 2010 The Rust Project Developers
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

branches/stable/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and documentation.
99

1010
Read ["Installing Rust"] from [The Book].
1111

12-
["Installing Rust"]: https://doc.rust-lang.org/book/installing-rust.html
12+
["Installing Rust"]: https://doc.rust-lang.org/book/getting-started.html#installing-rust
1313
[The Book]: https://doc.rust-lang.org/book/index.html
1414

1515
## Building from Source

branches/stable/RELEASES.md

Lines changed: 352 additions & 0 deletions
Large diffs are not rendered by default.

branches/stable/configure

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#!/bin/sh
22

3+
# /bin/sh on Solaris is not a POSIX compatible shell, but /usr/bin/bash is.
4+
if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then
5+
POSIX_SHELL="true"
6+
export POSIX_SHELL
7+
exec /usr/bin/env bash $0 "$@"
8+
fi
9+
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as bash as well
10+
311
msg() {
412
echo "configure: $*"
513
}
@@ -416,6 +424,11 @@ case $CFG_OSTYPE in
416424
CFG_OSTYPE=apple-darwin
417425
;;
418426

427+
SunOS)
428+
CFG_OSTYPE=sun-solaris
429+
CFG_CPUTYPE=$(isainfo -n)
430+
;;
431+
419432
MINGW*)
420433
# msys' `uname` does not print gcc configuration, but prints msys
421434
# configuration. so we cannot believe `uname -m`:
@@ -1164,7 +1177,7 @@ do
11641177
;;
11651178

11661179

1167-
*-musl)
1180+
x86_64-*-musl)
11681181
if [ ! -f $CFG_MUSL_ROOT/lib/libc.a ]
11691182
then
11701183
err "musl libc $CFG_MUSL_ROOT/lib/libc.a not found"
@@ -1292,6 +1305,12 @@ $ pacman -R cmake && pacman -S mingw-w64-x86_64-cmake
12921305
putvar CFG_DISABLE_JEMALLOC
12931306
;;
12941307

1308+
*-emscripten)
1309+
step_msg "targeting emscripten, disabling jemalloc"
1310+
CFG_DISABLE_JEMALLOC=1
1311+
putvar CFG_DISABLE_JEMALLOC
1312+
;;
1313+
12951314
*)
12961315
;;
12971316
esac

branches/stable/man/rustc.1

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ rustc \- The Rust compiler
66
[\fIOPTIONS\fR] \fIINPUT\fR
77

88
.SH DESCRIPTION
9-
This program is a compiler for the Rust language, available at
10-
.UR https://www.rust\-lang.org
11-
.UE .
9+
This program is a compiler for the Rust language, available at https://www.rust\-lang.org.
1210

1311
.SH OPTIONS
1412

@@ -53,10 +51,9 @@ Comma separated list of types of crates for the compiler to emit.
5351
Specify the name of the crate being built.
5452
.TP
5553
\fB\-\-emit\fR [asm|llvm\-bc|llvm\-ir|obj|link|dep\-info][=\fIPATH\fR]
56-
Configure the output that \fBrustc\fR will produce.
57-
58-
Each emission may also have an optional explicit output \fIPATH\fR specified for that particular
59-
emission kind. This path takes precedence over the \fB-o\fR option.
54+
Configure the output that \fBrustc\fR will produce. Each emission may also have
55+
an optional explicit output \fIPATH\fR specified for that particular emission
56+
kind. This path takes precedence over the \fB-o\fR option.
6057
.TP
6158
\fB\-\-print\fR [crate\-name|file\-names|sysroot]
6259
Comma separated list of compiler information to print on stdout.
@@ -68,13 +65,11 @@ Equivalent to \fI\-C\ debuginfo=2\fR.
6865
Equivalent to \fI\-C\ opt\-level=2\fR.
6966
.TP
7067
\fB\-o\fR \fIFILENAME\fR
71-
Write output to \fIFILENAME\fR.
72-
Ignored if multiple \fI\-\-emit\fR outputs are specified which don't have an
73-
explicit path otherwise.
68+
Write output to \fIFILENAME\fR. Ignored if multiple \fI\-\-emit\fR outputs are specified which
69+
don't have an explicit path otherwise.
7470
.TP
7571
\fB\-\-out\-dir\fR \fIDIR\fR
76-
Write output to compiler\[hy]chosen filename in \fIDIR\fR.
77-
Ignored if \fI\-o\fR is specified.
72+
Write output to compiler\[hy]chosen filename in \fIDIR\fR. Ignored if \fI\-o\fR is specified.
7873
Defaults to the current directory.
7974
.TP
8075
\fB\-\-explain\fR \fIOPT\fR
@@ -83,12 +78,26 @@ Provide a detailed explanation of an error message.
8378
\fB\-\-test\fR
8479
Build a test harness.
8580
.TP
86-
\fB\-\-target\fR \fITRIPLE\fR
87-
Target triple \fIcpu\fR\-\fImanufacturer\fR\-\fIkernel\fR[\-\fIos\fR]
88-
to compile for (see chapter 3.4 of
89-
.UR http://www.sourceware.org/autobook/
90-
.UE
91-
for details).
81+
\fB\-\-target\fR \fITARGET\fR
82+
Target triple for which the code is compiled. This option defaults to the host’s target
83+
triple. The target triple has the general format <arch><sub>\-<vendor>\-<sys>\-<abi>, where:
84+
.RS
85+
.TP
86+
.B <arch>
87+
x86, arm, thumb, mips, etc.
88+
.TP
89+
.B <sub>
90+
for example on ARM: v5, v6m, v7a, v7m, etc.
91+
.TP
92+
.B <vendor>
93+
pc, apple, nvidia, ibm, etc.
94+
.TP
95+
.B <sys>
96+
none, linux, win32, darwin, cuda, etc.
97+
.TP
98+
.B <abi>
99+
eabi, gnu, android, macho, elf, etc.
100+
.RE
92101
.TP
93102
\fB\-W help\fR
94103
Print 'lint' options and default settings.
@@ -287,10 +296,7 @@ To build an executable with debug info:
287296
.BR rustdoc (1)
288297

289298
.SH "BUGS"
290-
See
291-
.UR https://github.com/rust\-lang/rust/issues
292-
.UE
293-
for issues.
299+
See https://github.com/rust\-lang/rust/issues for issues.
294300

295301
.SH "AUTHOR"
296302
See \fIAUTHORS.txt\fR in the Rust source distribution.

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/armv7-unknown-linux-gnueabihf.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# armv7-unknown-linux-gnueabihf configuration
2-
CROSS_PREFIX_armv7-unknown-linux-gnueabihf=armv7-unknown-linux-gnueabihf-
2+
CROSS_PREFIX_armv7-unknown-linux-gnueabihf=arm-linux-gnueabihf-
33
CC_armv7-unknown-linux-gnueabihf=gcc
44
CXX_armv7-unknown-linux-gnueabihf=g++
55
CPP_armv7-unknown-linux-gnueabihf=gcc -E
@@ -8,8 +8,8 @@ CFG_LIB_NAME_armv7-unknown-linux-gnueabihf=lib$(1).so
88
CFG_STATIC_LIB_NAME_armv7-unknown-linux-gnueabihf=lib$(1).a
99
CFG_LIB_GLOB_armv7-unknown-linux-gnueabihf=lib$(1)-*.so
1010
CFG_LIB_DSYM_GLOB_armv7-unknown-linux-gnueabihf=lib$(1)-*.dylib.dSYM
11-
CFG_JEMALLOC_CFLAGS_armv7-unknown-linux-gnueabihf := -D__arm__ $(CFLAGS)
12-
CFG_GCCISH_CFLAGS_armv7-unknown-linux-gnueabihf := -Wall -g -fPIC -D__arm__ $(CFLAGS)
11+
CFG_JEMALLOC_CFLAGS_armv7-unknown-linux-gnueabihf := -D__arm__ $(CFLAGS) -march=armv7-a
12+
CFG_GCCISH_CFLAGS_armv7-unknown-linux-gnueabihf := -Wall -g -fPIC -D__arm__ $(CFLAGS) -march=armv7-a
1313
CFG_GCCISH_CXXFLAGS_armv7-unknown-linux-gnueabihf := -fno-rtti $(CXXFLAGS)
1414
CFG_GCCISH_LINK_FLAGS_armv7-unknown-linux-gnueabihf := -shared -fPIC -g
1515
CFG_GCCISH_DEF_FLAG_armv7-unknown-linux-gnueabihf := -Wl,--export-dynamic,--dynamic-list=
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# asmjs-unknown-emscripten configuration
2+
CC_asmjs-unknown-emscripten=emcc
3+
CXX_asmjs-unknown-emscripten=em++
4+
CPP_asmjs-unknown-emscripten=$(CPP)
5+
AR_asmjs-unknown-emscripten=emar
6+
CFG_LIB_NAME_asmjs-unknown-emscripten=lib$(1).so
7+
CFG_STATIC_LIB_NAME_asmjs-unknown-emscripten=lib$(1).a
8+
CFG_LIB_GLOB_asmjs-unknown-emscripten=lib$(1)-*.so
9+
CFG_LIB_DSYM_GLOB_asmjs-unknown-emscripten=lib$(1)-*.dylib.dSYM
10+
CFG_JEMALLOC_CFLAGS_asmjs-unknown-emscripten := -m32 $(CFLAGS)
11+
CFG_GCCISH_CFLAGS_asmjs-unknown-emscripten := -Wall -Werror -g -fPIC -m32 $(CFLAGS)
12+
CFG_GCCISH_CXXFLAGS_asmjs-unknown-emscripten := -fno-rtti $(CXXFLAGS)
13+
CFG_GCCISH_LINK_FLAGS_asmjs-unknown-emscripten := -shared -fPIC -ldl -pthread -lrt -g -m32
14+
CFG_GCCISH_DEF_FLAG_asmjs-unknown-emscripten := -Wl,--export-dynamic,--dynamic-list=
15+
CFG_LLC_FLAGS_asmjs-unknown-emscripten :=
16+
CFG_INSTALL_NAME_asmjs-unknown-emscripten =
17+
CFG_EXE_SUFFIX_asmjs-unknown-emscripten =
18+
CFG_WINDOWSY_asmjs-unknown-emscripten :=
19+
CFG_UNIXY_asmjs-unknown-emscripten := 1
20+
CFG_LDPATH_asmjs-unknown-emscripten :=
21+
CFG_RUN_asmjs-unknown-emscripten=$(2)
22+
CFG_RUN_TARG_asmjs-unknown-emscripten=$(call CFG_RUN_asmjs-unknown-emscripten,,$(2))
23+
CFG_GNU_TRIPLE_asmjs-unknown-emscripten := asmjs-unknown-emscripten
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# i686-unknown-linux-musl configuration
2+
CC_i686-unknown-linux-musl=$(CFG_MUSL_ROOT)/bin/musl-gcc
3+
CXX_i686-unknown-linux-musl=notaprogram
4+
CPP_i686-unknown-linux-musl=$(CFG_MUSL_ROOT)/bin/musl-gcc -E
5+
AR_i686-unknown-linux-musl=$(AR)
6+
CFG_INSTALL_ONLY_RLIB_i686-unknown-linux-musl = 1
7+
CFG_LIB_NAME_i686-unknown-linux-musl=lib$(1).so
8+
CFG_STATIC_LIB_NAME_i686-unknown-linux-musl=lib$(1).a
9+
CFG_LIB_GLOB_i686-unknown-linux-musl=lib$(1)-*.so
10+
CFG_JEMALLOC_CFLAGS_i686-unknown-linux-musl := -m32 -Wl,-melf_i386
11+
CFG_GCCISH_CFLAGS_i686-unknown-linux-musl := -Wall -Werror -g -fPIC -m32 -Wl,-melf_i386
12+
CFG_GCCISH_CXXFLAGS_i686-unknown-linux-musl :=
13+
CFG_GCCISH_LINK_FLAGS_i686-unknown-linux-musl :=
14+
CFG_GCCISH_DEF_FLAG_i686-unknown-linux-musl :=
15+
CFG_LLC_FLAGS_i686-unknown-linux-musl :=
16+
CFG_INSTALL_NAME_i686-unknown-linux-musl =
17+
CFG_EXE_SUFFIX_i686-unknown-linux-musl =
18+
CFG_WINDOWSY_i686-unknown-linux-musl :=
19+
CFG_UNIXY_i686-unknown-linux-musl := 1
20+
CFG_LDPATH_i686-unknown-linux-musl :=
21+
CFG_RUN_i686-unknown-linux-musl=$(2)
22+
CFG_RUN_TARG_i686-unknown-linux-musl=$(call CFG_RUN_i686-unknown-linux-musl,,$(2))
23+
CFG_GNU_TRIPLE_i686-unknown-linux-musl := i686-unknown-linux-musl
24+
CFG_THIRD_PARTY_OBJECTS_i686-unknown-linux-musl := crt1.o crti.o crtn.o
25+
CFG_INSTALLED_OBJECTS_i686-unknown-linux-musl := crt1.o crti.o crtn.o
26+
27+
NATIVE_DEPS_libc_T_i686-unknown-linux-musl += libc.a
28+
NATIVE_DEPS_std_T_i686-unknown-linux-musl += libunwind.a crt1.o crti.o crtn.o

branches/stable/mk/cfg/mips-unknown-linux-gnu.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ CFG_UNIXY_mips-unknown-linux-gnu := 1
2020
CFG_LDPATH_mips-unknown-linux-gnu :=
2121
CFG_RUN_mips-unknown-linux-gnu=
2222
CFG_RUN_TARG_mips-unknown-linux-gnu=
23-
RUSTC_FLAGS_mips-unknown-linux-gnu := -C target-cpu=mips32r2 -C target-feature="+mips32r2" -C soft-float
23+
RUSTC_FLAGS_mips-unknown-linux-gnu :=
2424
CFG_GNU_TRIPLE_mips-unknown-linux-gnu := mips-unknown-linux-gnu
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# mips-unknown-linux-musl configuration
2+
CC_mips-unknown-linux-musl=mips-linux-musl-gcc
3+
CXX_mips-unknown-linux-musl=mips-linux-musl-g++
4+
CPP_mips-unknown-linux-musl=mips-linux-musl-gcc -E
5+
AR_mips-unknown-linux-musl=mips-linux-musl-ar
6+
CFG_LIB_NAME_mips-unknown-linux-musl=lib$(1).so
7+
CFG_STATIC_LIB_NAME_mips-unknown-linux-musl=lib$(1).a
8+
CFG_LIB_GLOB_mips-unknown-linux-musl=lib$(1)-*.so
9+
CFG_LIB_DSYM_GLOB_mips-unknown-linux-musl=lib$(1)-*.dylib.dSYM
10+
CFG_JEMALLOC_CFLAGS_mips-unknown-linux-musl := -mips32r2 -msoft-float -mabi=32 $(CFLAGS)
11+
CFG_GCCISH_CFLAGS_mips-unknown-linux-musl := -Wall -g -fPIC -mips32r2 -msoft-float -mabi=32 $(CFLAGS)
12+
CFG_GCCISH_CXXFLAGS_mips-unknown-linux-musl := -fno-rtti $(CXXFLAGS)
13+
CFG_GCCISH_LINK_FLAGS_mips-unknown-linux-musl := -shared -fPIC -g -mips32r2 -msoft-float -mabi=32
14+
CFG_GCCISH_DEF_FLAG_mips-unknown-linux-musl := -Wl,--export-dynamic,--dynamic-list=
15+
CFG_LLC_FLAGS_mips-unknown-linux-musl :=
16+
CFG_INSTALL_NAME_mips-unknown-linux-musl =
17+
CFG_EXE_SUFFIX_mips-unknown-linux-musl =
18+
CFG_WINDOWSY_mips-unknown-linux-musl :=
19+
CFG_UNIXY_mips-unknown-linux-musl := 1
20+
CFG_LDPATH_mips-unknown-linux-musl :=
21+
CFG_RUN_mips-unknown-linux-musl=
22+
CFG_RUN_TARG_mips-unknown-linux-musl=
23+
RUSTC_FLAGS_mips-unknown-linux-musl :=
24+
CFG_GNU_TRIPLE_mips-unknown-linux-musl := mips-unknown-linux-musl

branches/stable/mk/cfg/mipsel-unknown-linux-gnu.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ CFG_UNIXY_mipsel-unknown-linux-gnu := 1
2020
CFG_LDPATH_mipsel-unknown-linux-gnu :=
2121
CFG_RUN_mipsel-unknown-linux-gnu=
2222
CFG_RUN_TARG_mipsel-unknown-linux-gnu=
23-
RUSTC_FLAGS_mipsel-unknown-linux-gnu := -C target-cpu=mips32 -C target-feature="+mips32"
23+
RUSTC_FLAGS_mipsel-unknown-linux-gnu :=
2424
CFG_GNU_TRIPLE_mipsel-unknown-linux-gnu := mipsel-unknown-linux-gnu
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# mipsel-unknown-linux-musl configuration
2+
CC_mipsel-unknown-linux-musl=mipsel-linux-musl-gcc
3+
CXX_mipsel-unknown-linux-musl=mipsel-linux-musl-g++
4+
CPP_mipsel-unknown-linux-musl=mipsel-linux-musl-gcc
5+
AR_mipsel-unknown-linux-musl=mipsel-linux-musl-ar
6+
CFG_LIB_NAME_mipsel-unknown-linux-musl=lib$(1).so
7+
CFG_STATIC_LIB_NAME_mipsel-unknown-linux-musl=lib$(1).a
8+
CFG_LIB_GLOB_mipsel-unknown-linux-musl=lib$(1)-*.so
9+
CFG_LIB_DSYM_GLOB_mipsel-unknown-linux-musl=lib$(1)-*.dylib.dSYM
10+
CFG_JEMALLOC_CFLAGS_mipsel-unknown-linux-musl := -mips32 -mabi=32 $(CFLAGS)
11+
CFG_GCCISH_CFLAGS_mipsel-unknown-linux-musl := -Wall -g -fPIC -mips32 -mabi=32 $(CFLAGS)
12+
CFG_GCCISH_CXXFLAGS_mipsel-unknown-linux-musl := -fno-rtti $(CXXFLAGS)
13+
CFG_GCCISH_LINK_FLAGS_mipsel-unknown-linux-musl := -shared -fPIC -g -mips32
14+
CFG_GCCISH_DEF_FLAG_mipsel-unknown-linux-musl := -Wl,--export-dynamic,--dynamic-list=
15+
CFG_LLC_FLAGS_mipsel-unknown-linux-musl :=
16+
CFG_INSTALL_NAME_mipsel-unknown-linux-musl =
17+
CFG_EXE_SUFFIX_mipsel-unknown-linux-musl :=
18+
CFG_WINDOWSY_mipsel-unknown-linux-musl :=
19+
CFG_UNIXY_mipsel-unknown-linux-musl := 1
20+
CFG_LDPATH_mipsel-unknown-linux-musl :=
21+
CFG_RUN_mipsel-unknown-linux-musl=
22+
CFG_RUN_TARG_mipsel-unknown-linux-musl=
23+
RUSTC_FLAGS_mipsel-unknown-linux-musl :=
24+
CFG_GNU_TRIPLE_mipsel-unknown-linux-musl := mipsel-unknown-linux-musl

branches/stable/mk/cfg/powerpc64-unknown-linux-gnu.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CFG_LIB_NAME_powerpc64-unknown-linux-gnu=lib$(1).so
88
CFG_STATIC_LIB_NAME_powerpc64-unknown-linux-gnu=lib$(1).a
99
CFG_LIB_GLOB_powerpc64-unknown-linux-gnu=lib$(1)-*.so
1010
CFG_LIB_DSYM_GLOB_powerpc64-unknown-linux-gnu=lib$(1)-*.dylib.dSYM
11+
CFG_JEMALLOC_CFLAGS_powerpc64-unknown-linux-gnu := -m64
1112
CFG_CFLAGS_powerpc64-unknown-linux-gnu := -m64 $(CFLAGS)
1213
CFG_GCCISH_CFLAGS_powerpc64-unknown-linux-gnu := -Wall -Werror -g -fPIC -m64 $(CFLAGS)
1314
CFG_GCCISH_CXXFLAGS_powerpc64-unknown-linux-gnu := -fno-rtti $(CXXFLAGS)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# x86_64-sun-solaris configuration
2+
CROSS_PREFIX_x86_64-sun-solaris=x86_64-sun-solaris2.11-
3+
CC_x86_64-sun-solaris=$(CC)
4+
CXX_x86_64-sun-solaris=$(CXX)
5+
CPP_x86_64-sun-solaris=$(CPP)
6+
AR_x86_64-sun-solaris=$(AR)
7+
CFG_LIB_NAME_x86_64-sun-solaris=lib$(1).so
8+
CFG_STATIC_LIB_NAME_x86_64-sun-solaris=lib$(1).a
9+
CFG_LIB_GLOB_x86_64-sun-solaris=lib$(1)-*.so
10+
CFG_LIB_DSYM_GLOB_x86_64-sun-solaris=$(1)-*.dylib.dSYM
11+
CFG_JEMALLOC_CFLAGS_x86_64-sun-solaris := -I/usr/local/include $(CFLAGS)
12+
CFG_GCCISH_CFLAGS_x86_64-sun-solaris := -Wall -Werror -g -D_POSIX_PTHREAD_SEMANTICS -fPIC -I/usr/local/include $(CFLAGS)
13+
CFG_GCCISH_LINK_FLAGS_x86_64-sun-solaris := -shared -fPIC -g -pthread -lrt
14+
CFG_GCCISH_DEF_FLAG_x86_64-sun-solaris := -Wl,--export-dynamic,--dynamic-list=
15+
CFG_LLC_FLAGS_x86_64-sun-solaris :=
16+
CFG_INSTALL_NAME_x86_64-sun-solaris =
17+
CFG_EXE_SUFFIX_x86_64-sun-solaris :=
18+
CFG_WINDOWSY_x86_64-sun-solaris :=
19+
CFG_UNIXY_x86_64-sun-solaris := 1
20+
CFG_LDPATH_x86_64-sun-solaris :=
21+
CFG_RUN_x86_64-sun-solaris=$(2)
22+
CFG_RUN_TARG_x86_64-sun-solaris=$(call CFG_RUN_x86_64-sun-solaris,,$(2))
23+
CFG_GNU_TRIPLE_x86_64-sun-solaris := x86_64-sun-solaris

branches/stable/mk/main.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ 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
364367

365368
######################################################################
366369
# Per-stage targets and runner

0 commit comments

Comments
 (0)