Skip to content

Commit fb30dd7

Browse files
getting rid of all changes due to this PR thus far, starting from a clean slate
2 parents bdb7901 + 5caca6f commit fb30dd7

File tree

674 files changed

+11855
-7836
lines changed

Some content is hidden

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

674 files changed

+11855
-7836
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,4 +415,4 @@ are:
415415
[tlgba]: http://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/
416416
[ro]: http://www.rustaceans.org/
417417
[rctd]: ./src/test/COMPILER_TESTS.md
418-
[cheatsheet]: https://buildbot.rust-lang.org/homu/
418+
[cheatsheet]: https://buildbot2.rust-lang.org/homu/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Windows build triples are:
135135
- `i686-pc-windows-msvc`
136136
- `x86_64-pc-windows-msvc`
137137

138-
The build triple can be specified by either specifying `--build=ABI` when
138+
The build triple can be specified by either specifying `--build=<triple>` when
139139
invoking `x.py` commands, or by copying the `config.toml` file (as described
140140
in Building From Source), and modifying the `build` option under the `[build]`
141141
section.

RELEASES.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Stabilized APIs
9292
Cargo
9393
-----
9494
- [Cargo API token location moved from `~/.cargo/config` to
95-
`~/cargo/credentials`.][cargo/3978]
95+
`~/.cargo/credentials`.][cargo/3978]
9696
- [Cargo will now build `main.rs` binaries that are in sub-directories of
9797
`src/bin`.][cargo/4214] ie. Having `src/bin/server/main.rs` and
9898
`src/bin/client/main.rs` generates `target/debug/server` and `target/debug/client`
@@ -172,7 +172,6 @@ Compatibility Notes
172172
[`slice::sort_unstable`]: https://doc.rust-lang.org/std/primitive.slice.html#method.sort_unstable
173173
[`ste::from_boxed_utf8_unchecked`]: https://doc.rust-lang.org/std/str/fn.from_boxed_utf8_unchecked.html
174174
[`str::as_bytes_mut`]: https://doc.rust-lang.org/std/primitive.str.html#method.as_bytes_mut
175-
[`str::as_bytes_mut`]: https://doc.rust-lang.org/std/primitive.str.html#method.as_bytes_mut
176175
[`str::from_utf8_mut`]: https://doc.rust-lang.org/std/str/fn.from_utf8_mut.html
177176
[`str::from_utf8_unchecked_mut`]: https://doc.rust-lang.org/std/str/fn.from_utf8_unchecked_mut.html
178177
[`str::get_mut`]: https://doc.rust-lang.org/std/primitive.str.html#method.get_mut
@@ -898,6 +897,9 @@ Compatibility Notes
898897
* [Ctrl-Z returns from `Stdin.read()` when reading from the console on
899898
Windows][38274]
900899
* [Clean up semantics of `self` in an import list][38313]
900+
* Reimplemented lifetime elision. This change was almost entirely compatible
901+
with existing code, but it did close a number of small bugs and loopholes,
902+
as well as being more accepting in some other [cases][41105].
901903

902904
[37057]: https://github.com/rust-lang/rust/pull/37057
903905
[37761]: https://github.com/rust-lang/rust/pull/37761
@@ -932,6 +934,7 @@ Compatibility Notes
932934
[39048]: https://github.com/rust-lang/rust/pull/39048
933935
[39282]: https://github.com/rust-lang/rust/pull/39282
934936
[39379]: https://github.com/rust-lang/rust/pull/39379
937+
[41105]: https://github.com/rust-lang/rust/issues/41105
935938
[`<*const T>::wrapping_offset`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_offset
936939
[`<*mut T>::wrapping_offset`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_offset
937940
[`Duration::checked_add`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_add

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ environment:
1616
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
1717
SCRIPT: python x.py test
1818
- MSYS_BITS: 32
19-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --target=i586-pc-windows-msvc
19+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --target=i686-pc-windows-msvc
2020
SCRIPT: python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc
2121

2222
# MSVC aux tests
@@ -145,7 +145,8 @@ install:
145145
# - set PATH=%PATH%;%CD% -- this already happens above for sccache
146146

147147
# Install InnoSetup to get `iscc` used to produce installers
148-
- appveyor-retry choco install -y InnoSetup
148+
- appveyor-retry appveyor DownloadFile https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-08-22-is.exe
149+
- 2017-08-22-is.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
149150
- set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
150151

151152
# Help debug some handle issues on AppVeyor

config.toml.example

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@
7373
# controlled by rustbuild's -j parameter.
7474
#link-jobs = 0
7575

76+
# When invoking `llvm-config` this configures whether the `--shared` argument is
77+
# passed to prefer linking to shared libraries.
78+
#link-shared = false
79+
7680
# =============================================================================
7781
# General build configuration options
7882
# =============================================================================
@@ -166,6 +170,15 @@
166170
# to +10 on Unix platforms, and by using a "low priority" job object on Windows.
167171
#low-priority = false
168172

173+
# Arguments passed to the `./configure` script, used during distcheck. You
174+
# probably won't fill this in but rather it's filled in by the `./configure`
175+
# script.
176+
#configure-args = []
177+
178+
# Indicates that a local rebuild is ocurring instead of a full bootstrap,
179+
# essentially skipping stage0 as the local compiler is recompiling itself again.
180+
#local-rebuild = false
181+
169182
# =============================================================================
170183
# General install configuration options
171184
# =============================================================================
@@ -195,6 +208,13 @@
195208
# =============================================================================
196209
[rust]
197210

211+
# Indicates that the build should be optimized for debugging Rust. Note that
212+
# this is typically not what you want as it takes an incredibly large amount of
213+
# time to have a debug-mode rustc compile any code (notably libstd). If this
214+
# value is set to `true` it will affect a number of configuration options below
215+
# as well, if unconfigured.
216+
#debug = false
217+
198218
# Whether or not to optimize the compiler and standard library
199219
# Note: the slowness of the non optimized compiler compiling itself usually
200220
# outweighs the time gains in not doing optimizations, therefore a
@@ -249,6 +269,10 @@
249269
# desired in distributions, for example.
250270
#rpath = true
251271

272+
# Suppresses extraneous output from tests to ensure the output of the test
273+
# harness is relatively clean.
274+
#quiet-tests = false
275+
252276
# Flag indicating whether tests are compiled with optimizations (the -O flag) or
253277
# with debuginfo (the -g flag)
254278
#optimize-tests = true
@@ -264,6 +288,9 @@
264288
# will default to true if channel = "dev", but will default to false otherwise.
265289
#ignore-git = true
266290

291+
# When creating source tarballs whether or not to create a source tarball.
292+
#dist-src = false
293+
267294
# =============================================================================
268295
# Options for specific targets
269296
#
@@ -295,12 +322,22 @@
295322
# build native code.
296323
#android-ndk = "/path/to/ndk"
297324

325+
# Force static or dynamic linkage of the standard library for this target. If
326+
# this target is a host for rustc, this will also affect the linkage of the
327+
# compiler itself. This is useful for building rustc on targets that normally
328+
# only use static libraries. If unset, the target's default linkage is used.
329+
#crt-static = false
330+
298331
# The root location of the MUSL installation directory. The library directory
299332
# will also need to contain libunwind.a for an unwinding implementation. Note
300333
# that this option only makes sense for MUSL targets that produce statically
301334
# linked binaries
302335
#musl-root = "..."
303336

337+
# Used in testing for configuring where the QEMU images are located, you
338+
# probably don't want to use this.
339+
#qemu-rootfs = "..."
340+
304341
# =============================================================================
305342
# Distribution options
306343
#

0 commit comments

Comments
 (0)