Merge branch 'master' into issue-32540
This commit is contained in:
commit
dedb7bbbbf
664 changed files with 11577 additions and 8696 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -5,10 +5,6 @@
|
|||
[submodule "src/compiler-rt"]
|
||||
path = src/compiler-rt
|
||||
url = https://github.com/rust-lang/compiler-rt.git
|
||||
[submodule "src/rt/hoedown"]
|
||||
path = src/rt/hoedown
|
||||
url = https://github.com/rust-lang/hoedown.git
|
||||
branch = rust-2015-09-21-do-not-delete
|
||||
[submodule "src/jemalloc"]
|
||||
path = src/jemalloc
|
||||
url = https://github.com/rust-lang/jemalloc.git
|
||||
|
|
76
.travis.yml
76
.travis.yml
|
@ -40,7 +40,10 @@ matrix:
|
|||
- env: IMAGE=x86_64-gnu-distcheck
|
||||
- env: IMAGE=x86_64-gnu-incremental
|
||||
|
||||
# OSX builders
|
||||
# OSX builders running tests, these run the full test suite.
|
||||
#
|
||||
# Note that the compiler is compiled to target 10.8 here because the Xcode
|
||||
# version that we're using, 8.2, cannot compile LLVM for OSX 10.7.
|
||||
- env: >
|
||||
RUST_CHECK_TARGET=check
|
||||
RUST_CONFIGURE_ARGS=--build=x86_64-apple-darwin
|
||||
|
@ -52,8 +55,10 @@ matrix:
|
|||
os: osx
|
||||
osx_image: xcode8.2
|
||||
install: &osx_install_sccache >
|
||||
travis_retry curl -o /usr/local/bin/sccache https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-apple-darwin &&
|
||||
chmod +x /usr/local/bin/sccache
|
||||
travis_retry curl -o /usr/local/bin/sccache https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-apple-darwin &&
|
||||
chmod +x /usr/local/bin/sccache &&
|
||||
travis_retry curl -o /usr/local/bin/stamp https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-17-stamp-x86_64-apple-darwin &&
|
||||
chmod +x /usr/local/bin/stamp
|
||||
- env: >
|
||||
RUST_CHECK_TARGET=check
|
||||
RUST_CONFIGURE_ARGS=--build=i686-apple-darwin
|
||||
|
@ -66,6 +71,12 @@ matrix:
|
|||
osx_image: xcode8.2
|
||||
install: *osx_install_sccache
|
||||
|
||||
# OSX builders producing releases. These do not run the full test suite and
|
||||
# just produce a bunch of artifacts.
|
||||
#
|
||||
# Note that these are running in the `xcode7` image instead of the
|
||||
# `xcode8.2` image as above. That's because we want to build releases for
|
||||
# OSX 10.7 and `xcode7` is the latest Xcode able to compile LLVM for 10.7.
|
||||
- env: >
|
||||
RUST_CHECK_TARGET=dist
|
||||
RUST_CONFIGURE_ARGS="--build=i686-apple-darwin --enable-extended"
|
||||
|
@ -73,13 +84,10 @@ matrix:
|
|||
DEPLOY=1
|
||||
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
|
||||
SCCACHE_ERROR_LOG=/tmp/sccache.log
|
||||
MACOSX_DEPLOYMENT_TARGET=10.8
|
||||
MACOSX_STD_DEPLOYMENT_TARGET=10.7
|
||||
MACOSX_DEPLOYMENT_TARGET=10.7
|
||||
os: osx
|
||||
osx_image: xcode8.2
|
||||
install: >
|
||||
travis_retry curl -o /usr/local/bin/sccache https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-apple-darwin &&
|
||||
chmod +x /usr/local/bin/sccache
|
||||
osx_image: xcode7
|
||||
install: *osx_install_sccache
|
||||
- env: >
|
||||
RUST_CHECK_TARGET=dist
|
||||
RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-extended"
|
||||
|
@ -87,10 +95,9 @@ matrix:
|
|||
DEPLOY=1
|
||||
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
|
||||
SCCACHE_ERROR_LOG=/tmp/sccache.log
|
||||
MACOSX_DEPLOYMENT_TARGET=10.8
|
||||
MACOSX_STD_DEPLOYMENT_TARGET=10.7
|
||||
MACOSX_DEPLOYMENT_TARGET=10.7
|
||||
os: osx
|
||||
osx_image: xcode8.2
|
||||
osx_image: xcode7
|
||||
install: *osx_install_sccache
|
||||
|
||||
# "alternate" deployments, these are "nightlies" but don't have assertions
|
||||
|
@ -105,10 +112,9 @@ matrix:
|
|||
DEPLOY_ALT=1
|
||||
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
|
||||
SCCACHE_ERROR_LOG=/tmp/sccache.log
|
||||
MACOSX_DEPLOYMENT_TARGET=10.8
|
||||
MACOSX_STD_DEPLOYMENT_TARGET=10.7
|
||||
MACOSX_DEPLOYMENT_TARGET=10.7
|
||||
os: osx
|
||||
osx_image: xcode8.2
|
||||
osx_image: xcode7
|
||||
install: *osx_install_sccache
|
||||
|
||||
env:
|
||||
|
@ -118,6 +124,12 @@ env:
|
|||
# AWS_SECRET_ACCESS_KEY=...
|
||||
- secure: "Pixhh0hXDqGCdOyLtGFjli3J2AtDWIpyb2btIrLe956nCBDRutRoMm6rv5DI9sFZN07Mms7VzNNvhc9wCW1y63JAm414d2Co7Ob8kWMZlz9l9t7ACHuktUiis8yr+S4Quq1Vqd6pqi7pf2J++UxC8R/uLeqVrubzr6+X7AbmEFE="
|
||||
|
||||
# Note that this is overridden on OSX builders
|
||||
install: >
|
||||
travis_retry curl -o $HOME/stamp https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-17-stamp-x86_64-unknown-linux-musl &&
|
||||
chmod +x $HOME/stamp &&
|
||||
export PATH=$PATH:$HOME
|
||||
|
||||
before_script:
|
||||
- >
|
||||
echo "#### Disk usage before running script:";
|
||||
|
@ -127,13 +139,14 @@ before_script:
|
|||
script:
|
||||
- >
|
||||
if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_BRANCH" != "auto" ]; then
|
||||
echo skipping, not a full build;
|
||||
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
travis_retry sh -c 'git submodule deinit -f . && git submodule update --init' &&
|
||||
src/ci/run.sh;
|
||||
echo skipping, not a full build
|
||||
else
|
||||
travis_retry sh -c 'git submodule deinit -f . && git submodule update --init' &&
|
||||
src/ci/docker/run.sh $IMAGE;
|
||||
stamp src/ci/init_repo.sh . "$HOME/rustsrc" &&
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
stamp src/ci/run.sh;
|
||||
else
|
||||
stamp src/ci/docker/run.sh $IMAGE;
|
||||
fi
|
||||
fi
|
||||
|
||||
after_success:
|
||||
|
@ -147,17 +160,37 @@ after_failure:
|
|||
echo "#### Build failed; Disk usage after running script:";
|
||||
df -h;
|
||||
du . | sort -nr | head -n100
|
||||
|
||||
# One of these is the linux sccache log, one is the OSX sccache log. Instead
|
||||
# of worrying about what system we are just cat both. One of these commands
|
||||
# will fail but that's ok, they'll both get executed.
|
||||
- cat obj/tmp/sccache.log
|
||||
- cat /tmp/sccache.log
|
||||
|
||||
# Random attempt at debugging currently. Just poking around in here to see if
|
||||
# anything shows up.
|
||||
- ls $HOME/Library/Logs/DiagnosticReports/
|
||||
|
||||
# attempt to debug anything killed by the oom killer on linux, just to see if
|
||||
# it happened
|
||||
- dmesg | grep -i kill
|
||||
|
||||
# Save tagged docker images we created and load them if they're available
|
||||
# Travis saves caches whether the build failed or not, nuke rustsrc if
|
||||
# the failure was while updating it (as it may be in an bad state)
|
||||
# https://github.com/travis-ci/travis-ci/issues/4472
|
||||
before_cache:
|
||||
- docker history -q rust-ci |
|
||||
grep -v missing |
|
||||
xargs docker save |
|
||||
gzip > $HOME/docker/rust-ci.tar.gz
|
||||
- if [ ! -f $HOME/rustsrc/cache_valid1 ]; then
|
||||
echo "WARNING rustsrc cache was invalid when saving";
|
||||
rm -rf $HOME/rustsrc && mkdir $HOME/rustsrc;
|
||||
fi
|
||||
before_install:
|
||||
- zcat $HOME/docker/rust-ci.tar.gz | docker load || true
|
||||
- mkdir -p $HOME/rustsrc
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -165,6 +198,7 @@ notifications:
|
|||
cache:
|
||||
directories:
|
||||
- $HOME/docker
|
||||
- $HOME/rustsrc
|
||||
|
||||
before_deploy:
|
||||
- mkdir -p deploy/$TRAVIS_COMMIT
|
||||
|
|
|
@ -311,9 +311,13 @@ To save @bors some work, and to get small changes through more quickly, when
|
|||
the other rollup-eligible patches too, and they'll get tested and merged at
|
||||
the same time.
|
||||
|
||||
To find documentation-related issues, sort by the [A-docs label][adocs].
|
||||
To find documentation-related issues, sort by the [T-doc label][tdoc].
|
||||
|
||||
[adocs]: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AA-docs
|
||||
[tdoc]: https://github.com/rust-lang/rust/issues?q=is%3Aopen%20is%3Aissue%20label%3AT-doc
|
||||
|
||||
You can find documentation style guidelines in [RFC 1574][rfc1574].
|
||||
|
||||
[rfc1574]: https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md#appendix-a-full-conventions-text
|
||||
|
||||
In many cases, you don't need a full `./x.py doc`. You can use `rustdoc` directly
|
||||
to check small fixes. For example, `rustdoc src/doc/reference.md` will render
|
||||
|
|
22
appveyor.yml
22
appveyor.yml
|
@ -45,14 +45,14 @@ environment:
|
|||
- MSYS_BITS: 32
|
||||
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --enable-ninja
|
||||
SCRIPT: python x.py test
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
|
||||
MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
|
||||
MINGW_ARCHIVE: i686-6.2.0-release-win32-dwarf-rt_v5-rev1.7z
|
||||
MINGW_DIR: mingw32
|
||||
- MSYS_BITS: 64
|
||||
SCRIPT: python x.py test
|
||||
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu --enable-ninja
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
|
||||
MINGW_ARCHIVE: x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
|
||||
MINGW_ARCHIVE: x86_64-6.2.0-release-win32-seh-rt_v5-rev1.7z
|
||||
MINGW_DIR: mingw64
|
||||
|
||||
# 32/64 bit MSVC and GNU deployment
|
||||
|
@ -70,15 +70,15 @@ environment:
|
|||
- MSYS_BITS: 32
|
||||
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --enable-extended --enable-ninja
|
||||
SCRIPT: python x.py dist
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
|
||||
MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
|
||||
MINGW_ARCHIVE: i686-6.2.0-release-win32-dwarf-rt_v5-rev1.7z
|
||||
MINGW_DIR: mingw32
|
||||
DEPLOY: 1
|
||||
- MSYS_BITS: 64
|
||||
SCRIPT: python x.py dist
|
||||
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu --enable-extended --enable-ninja
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
|
||||
MINGW_ARCHIVE: x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
|
||||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
|
||||
MINGW_ARCHIVE: x86_64-6.2.0-release-win32-seh-rt_v5-rev1.7z
|
||||
MINGW_DIR: mingw64
|
||||
DEPLOY: 1
|
||||
|
||||
|
@ -115,8 +115,8 @@ install:
|
|||
- set PATH=C:\Python27;%PATH%
|
||||
|
||||
# Download and install sccache
|
||||
- appveyor-retry appveyor DownloadFile https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-pc-windows-msvc
|
||||
- mv 2017-03-16-sccache-x86_64-pc-windows-msvc sccache.exe
|
||||
- appveyor-retry appveyor DownloadFile https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-pc-windows-msvc
|
||||
- mv 2017-03-24-sccache-x86_64-pc-windows-msvc sccache.exe
|
||||
- set PATH=%PATH%;%CD%
|
||||
|
||||
# Download and install ninja
|
||||
|
@ -182,6 +182,7 @@ deploy:
|
|||
on:
|
||||
branch: auto
|
||||
DEPLOY: 1
|
||||
max_error_retry: 5
|
||||
|
||||
# This provider is the same as the one above except that it has a slightly
|
||||
# different upload directory and a slightly different trigger
|
||||
|
@ -198,6 +199,7 @@ deploy:
|
|||
on:
|
||||
branch: auto
|
||||
DEPLOY_ALT: 1
|
||||
max_error_retry: 5
|
||||
|
||||
# init:
|
||||
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
|
|
2
cargo
2
cargo
|
@ -1 +1 @@
|
|||
Subproject commit c995e9eb5acf3976ae8674a0dc6d9e958053d9fd
|
||||
Subproject commit 4e95c6b41eca3388f54dd5f7787366ad2df637b5
|
118
src/Cargo.lock
generated
118
src/Cargo.lock
generated
|
@ -8,7 +8,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "aho-corasick"
|
||||
version = "0.6.2"
|
||||
version = "0.6.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"memchr 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -27,7 +27,7 @@ version = "0.0.0"
|
|||
dependencies = [
|
||||
"build_helper 0.1.0",
|
||||
"core 0.0.0",
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.0.0",
|
||||
]
|
||||
|
||||
|
@ -65,7 +65,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "0.8.0"
|
||||
version = "0.8.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
|
@ -75,7 +75,7 @@ dependencies = [
|
|||
"build_helper 0.1.0",
|
||||
"cmake 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num_cpus 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -104,12 +104,12 @@ version = "0.1.0"
|
|||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "2.21.1"
|
||||
version = "2.22.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"atty 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"strsim 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"term_size 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"unicode-segmentation 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -122,7 +122,7 @@ name = "cmake"
|
|||
version = "0.1.22"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -140,14 +140,14 @@ version = "0.0.0"
|
|||
dependencies = [
|
||||
"build_helper 0.1.0",
|
||||
"core 0.0.0",
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "compiletest"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"env_logger 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc-serialize 0.3.23 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -162,14 +162,6 @@ name = "dtoa"
|
|||
version = "0.4.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "env_logger"
|
||||
version = "0.3.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "env_logger"
|
||||
version = "0.4.2"
|
||||
|
@ -196,7 +188,7 @@ name = "flate"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"build_helper 0.1.0",
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -205,7 +197,7 @@ version = "0.0.0"
|
|||
|
||||
[[package]]
|
||||
name = "gcc"
|
||||
version = "0.3.44"
|
||||
version = "0.3.45"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
|
@ -223,10 +215,10 @@ version = "0.0.0"
|
|||
|
||||
[[package]]
|
||||
name = "handlebars"
|
||||
version = "0.25.1"
|
||||
version = "0.25.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"lazy_static 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pest 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"quick-error 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -251,7 +243,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "lazy_static"
|
||||
version = "0.2.4"
|
||||
version = "0.2.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
|
@ -270,10 +262,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
name = "linkchecker"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.0.0"
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.3.7"
|
||||
|
@ -284,9 +272,9 @@ name = "mdbook"
|
|||
version = "0.0.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"clap 2.21.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"clap 2.22.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"env_logger 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"handlebars 0.25.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"handlebars 0.25.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"open 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pulldown-cmark 0.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -370,6 +358,14 @@ dependencies = [
|
|||
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pulldown-cmark"
|
||||
version = "0.0.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "qemu-test-client"
|
||||
version = "0.1.0"
|
||||
|
@ -395,7 +391,7 @@ name = "regex"
|
|||
version = "0.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"aho-corasick 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"aho-corasick 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"memchr 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"regex-syntax 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"thread_local 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -428,7 +424,7 @@ dependencies = [
|
|||
name = "rustbook"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap 2.21.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"clap 2.22.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"mdbook 0.0.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
|
@ -439,7 +435,7 @@ dependencies = [
|
|||
"arena 0.0.0",
|
||||
"fmt_macros 0.0.0",
|
||||
"graphviz 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc_back 0.0.0",
|
||||
"rustc_bitflags 0.0.0",
|
||||
"rustc_const_math 0.0.0",
|
||||
|
@ -479,7 +475,7 @@ dependencies = [
|
|||
name = "rustc_back"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serialize 0.0.0",
|
||||
"syntax 0.0.0",
|
||||
]
|
||||
|
@ -493,7 +489,7 @@ name = "rustc_borrowck"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"graphviz 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_data_structures 0.0.0",
|
||||
"rustc_errors 0.0.0",
|
||||
|
@ -508,7 +504,7 @@ version = "0.0.0"
|
|||
dependencies = [
|
||||
"arena 0.0.0",
|
||||
"graphviz 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_back 0.0.0",
|
||||
"rustc_const_math 0.0.0",
|
||||
|
@ -530,7 +526,7 @@ dependencies = [
|
|||
name = "rustc_data_structures"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serialize 0.0.0",
|
||||
]
|
||||
|
||||
|
@ -539,8 +535,9 @@ name = "rustc_driver"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"arena 0.0.0",
|
||||
"env_logger 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"graphviz 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"proc_macro_plugin 0.0.0",
|
||||
"rustc 0.0.0",
|
||||
"rustc_back 0.0.0",
|
||||
|
@ -579,7 +576,7 @@ name = "rustc_incremental"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"graphviz 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_data_structures 0.0.0",
|
||||
"serialize 0.0.0",
|
||||
|
@ -591,7 +588,7 @@ dependencies = [
|
|||
name = "rustc_lint"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_back 0.0.0",
|
||||
"rustc_const_eval 0.0.0",
|
||||
|
@ -604,7 +601,7 @@ name = "rustc_llvm"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"build_helper 0.1.0",
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc_bitflags 0.0.0",
|
||||
]
|
||||
|
||||
|
@ -623,7 +620,7 @@ name = "rustc_metadata"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"flate 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"proc_macro 0.0.0",
|
||||
"rustc 0.0.0",
|
||||
"rustc_back 0.0.0",
|
||||
|
@ -642,7 +639,7 @@ name = "rustc_mir"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"graphviz 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_bitflags 0.0.0",
|
||||
"rustc_const_eval 0.0.0",
|
||||
|
@ -666,7 +663,7 @@ dependencies = [
|
|||
name = "rustc_passes"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_const_eval 0.0.0",
|
||||
"rustc_const_math 0.0.0",
|
||||
|
@ -705,7 +702,7 @@ name = "rustc_resolve"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"arena 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_errors 0.0.0",
|
||||
"syntax 0.0.0",
|
||||
|
@ -716,7 +713,7 @@ dependencies = [
|
|||
name = "rustc_save_analysis"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rls-data 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rls-span 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
|
@ -730,7 +727,7 @@ name = "rustc_trans"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"flate 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_back 0.0.0",
|
||||
"rustc_bitflags 0.0.0",
|
||||
|
@ -762,7 +759,7 @@ version = "0.0.0"
|
|||
dependencies = [
|
||||
"arena 0.0.0",
|
||||
"fmt_macros 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_back 0.0.0",
|
||||
"rustc_const_eval 0.0.0",
|
||||
|
@ -780,8 +777,10 @@ version = "0.0.0"
|
|||
dependencies = [
|
||||
"arena 0.0.0",
|
||||
"build_helper 0.1.0",
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.0.0",
|
||||
"env_logger 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pulldown-cmark 0.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc 0.0.0",
|
||||
"rustc_back 0.0.0",
|
||||
"rustc_const_eval 0.0.0",
|
||||
|
@ -828,7 +827,7 @@ dependencies = [
|
|||
"collections 0.0.0",
|
||||
"compiler_builtins 0.0.0",
|
||||
"core 0.0.0",
|
||||
"gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.0.0",
|
||||
"panic_abort 0.0.0",
|
||||
"panic_unwind 0.0.0",
|
||||
|
@ -857,7 +856,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
name = "syntax"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc_bitflags 0.0.0",
|
||||
"rustc_data_structures 0.0.0",
|
||||
"rustc_errors 0.0.0",
|
||||
|
@ -870,7 +869,7 @@ name = "syntax_ext"
|
|||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"fmt_macros 0.0.0",
|
||||
"log 0.0.0",
|
||||
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"proc_macro 0.0.0",
|
||||
"rustc_errors 0.0.0",
|
||||
"syntax 0.0.0",
|
||||
|
@ -927,6 +926,9 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "tidy"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"regex 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
|
@ -988,23 +990,22 @@ version = "0.1.1"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[metadata]
|
||||
"checksum aho-corasick 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0638fd549427caa90c499814196d1b9e3725eb4d15d7339d6de073a680ed0ca2"
|
||||
"checksum aho-corasick 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "500909c4f87a9e52355b26626d890833e9e1d53ac566db76c36faa984b889699"
|
||||
"checksum ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "23ac7c30002a5accbf7e8987d0632fa6de155b7c3d39d0067317a391e00a2ef6"
|
||||
"checksum atty 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d912da0db7fa85514874458ca3651fe2cddace8d0b0505571dbdcd41ab490159"
|
||||
"checksum bitflags 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4f67931368edf3a9a51d29886d245f1c3db2f1ef0dcc9e35ff70341b78c10d23"
|
||||
"checksum bitflags 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e1ab483fc81a8143faa7203c4a3c02888ebd1a782e37e41fa34753ba9a162"
|
||||
"checksum clap 2.21.1 (registry+https://github.com/rust-lang/crates.io-index)" = "74a80f603221c9cd9aa27a28f52af452850051598537bb6b359c38a7d61e5cda"
|
||||
"checksum bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1370e9fc2a6ae53aea8b7a5110edbd08836ed87c88736dfabccade1c2b44bff4"
|
||||
"checksum clap 2.22.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e17a4a72ffea176f77d6e2db609c6c919ef221f23862c9915e687fb54d833485"
|
||||
"checksum cmake 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "d18d68987ed4c516dcc3e7913659bfa4076f5182eea4a7e0038bb060953e76ac"
|
||||
"checksum dtoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "80c8b71fd71146990a9742fc06dcbbde19161a267e0ad4e572c35162f4578c90"
|
||||
"checksum env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "15abd780e45b3ea4f76b4e9a26ff4843258dd8a3eed2775a0e7368c2e7936c2f"
|
||||
"checksum env_logger 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e3856f1697098606fc6cb97a93de88ca3f3bc35bb878c725920e6e82ecf05e83"
|
||||
"checksum filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "5363ab8e4139b8568a6237db5248646e5a8a2f89bd5ccb02092182b11fd3e922"
|
||||
"checksum gcc 0.3.44 (registry+https://github.com/rust-lang/crates.io-index)" = "a32cd40070d7611ab76343dcb3204b2bb28c8a9450989a83a3d590248142f439"
|
||||
"checksum gcc 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)" = "40899336fb50db0c78710f53e87afc54d8c7266fb76262fecc78ca1a7f09deae"
|
||||
"checksum getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9047cfbd08a437050b363d35ef160452c5fe8ea5187ae0a624708c91581d685"
|
||||
"checksum handlebars 0.25.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b2249f6f0dc5a3bb2b3b1a8f797dfccbc4b053344d773d654ad565e51427d335"
|
||||
"checksum handlebars 0.25.2 (registry+https://github.com/rust-lang/crates.io-index)" = "663e1728d8037fb0d4e13bcd1b1909fb5d913690a9929eb385922df157c2ff8f"
|
||||
"checksum itoa 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "eb2f404fbc66fd9aac13e998248505e7ecb2ad8e44ab6388684c5fb11c6c251c"
|
||||
"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
|
||||
"checksum lazy_static 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7291b1dd97d331f752620b02dfdbc231df7fc01bf282a00769e1cdb963c460dc"
|
||||
"checksum lazy_static 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "4732c563b9a21a406565c4747daa7b46742f082911ae4753f390dc9ec7ee1a97"
|
||||
"checksum libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)" = "88ee81885f9f04bff991e306fea7c1c60a5f0f9e409e99f6b40e3311a3363135"
|
||||
"checksum log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "5141eca02775a762cc6cd564d8d2c50f67c0ea3a372cbf1c51592b3e029e10ad"
|
||||
"checksum mdbook 0.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "06a68e8738e42b38a02755d3ce5fa12d559e17acb238e4326cbc3cc056e65280"
|
||||
|
@ -1013,6 +1014,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
"checksum num_cpus 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "cee7e88156f3f9e19bdd598f8d6c9db7bf4078f99f8381f43a55b09648d1a6e3"
|
||||
"checksum open 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3478ed1686bd1300c8a981a940abc92b06fac9cbef747f4c668d4e032ff7b842"
|
||||
"checksum pest 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0a6dda33d67c26f0aac90d324ab2eb7239c819fc7b2552fe9faa4fe88441edc8"
|
||||
"checksum pulldown-cmark 0.0.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9ab1e588ef8efd702c7ed9d2bd774db5e6f4d878bb5a1a9f371828fbdff6973"
|
||||
"checksum pulldown-cmark 0.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1058d7bb927ca067656537eec4e02c2b4b70eaaa129664c5b90c111e20326f41"
|
||||
"checksum quick-error 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0aad603e8d7fb67da22dbdf1f4b826ce8829e406124109e73cf1b2454b93a71c"
|
||||
"checksum regex 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4278c17d0f6d62dfef0ab00028feb45bd7d2102843f80763474eeb1be8a10c01"
|
||||
|
|
|
@ -40,6 +40,14 @@ fn main() {
|
|||
.arg(sysroot)
|
||||
.env(bootstrap::util::dylib_path_var(),
|
||||
env::join_paths(&dylib_path).unwrap());
|
||||
|
||||
// Pass the `rustbuild` feature flag to crates which rustbuild is
|
||||
// building. See the comment in bootstrap/lib.rs where this env var is
|
||||
// set for more details.
|
||||
if env::var_os("RUSTBUILD_UNSTABLE").is_some() {
|
||||
cmd.arg("--cfg").arg("rustbuild");
|
||||
}
|
||||
|
||||
std::process::exit(match cmd.status() {
|
||||
Ok(s) => s.code().unwrap_or(1),
|
||||
Err(e) => panic!("\n\nfailed to run {:?}: {}\n\n", cmd, e),
|
||||
|
|
|
@ -160,11 +160,8 @@ class RustBuild(object):
|
|||
def download_stage0(self):
|
||||
cache_dst = os.path.join(self.build_dir, "cache")
|
||||
rustc_cache = os.path.join(cache_dst, self.stage0_rustc_date())
|
||||
cargo_cache = os.path.join(cache_dst, self.stage0_cargo_rev())
|
||||
if not os.path.exists(rustc_cache):
|
||||
os.makedirs(rustc_cache)
|
||||
if not os.path.exists(cargo_cache):
|
||||
os.makedirs(cargo_cache)
|
||||
|
||||
if self.rustc().startswith(self.bin_root()) and \
|
||||
(not os.path.exists(self.rustc()) or self.rustc_out_of_date()):
|
||||
|
@ -195,15 +192,15 @@ class RustBuild(object):
|
|||
if self.cargo().startswith(self.bin_root()) and \
|
||||
(not os.path.exists(self.cargo()) or self.cargo_out_of_date()):
|
||||
self.print_what_it_means_to_bootstrap()
|
||||
filename = "cargo-nightly-{}.tar.gz".format(self.build)
|
||||
url = "https://s3.amazonaws.com/rust-lang-ci/cargo-builds/" + self.stage0_cargo_rev()
|
||||
tarball = os.path.join(cargo_cache, filename)
|
||||
filename = "cargo-{}-{}.tar.gz".format(channel, self.build)
|
||||
url = "https://static.rust-lang.org/dist/" + self.stage0_rustc_date()
|
||||
tarball = os.path.join(rustc_cache, filename)
|
||||
if not os.path.exists(tarball):
|
||||
get("{}/{}".format(url, filename), tarball, verbose=self.verbose)
|
||||
unpack(tarball, self.bin_root(), match="cargo", verbose=self.verbose)
|
||||
self.fix_executable(self.bin_root() + "/bin/cargo")
|
||||
with open(self.cargo_stamp(), 'w') as f:
|
||||
f.write(self.stage0_cargo_rev())
|
||||
f.write(self.stage0_rustc_date())
|
||||
|
||||
def fix_executable(self, fname):
|
||||
# If we're on NixOS we need to change the path to the dynamic loader
|
||||
|
@ -258,9 +255,6 @@ class RustBuild(object):
|
|||
print("warning: failed to call patchelf: %s" % e)
|
||||
return
|
||||
|
||||
def stage0_cargo_rev(self):
|
||||
return self._cargo_rev
|
||||
|
||||
def stage0_rustc_date(self):
|
||||
return self._rustc_date
|
||||
|
||||
|
@ -283,7 +277,7 @@ class RustBuild(object):
|
|||
if not os.path.exists(self.cargo_stamp()) or self.clean:
|
||||
return True
|
||||
with open(self.cargo_stamp(), 'r') as f:
|
||||
return self.stage0_cargo_rev() != f.read()
|
||||
return self.stage0_rustc_date() != f.read()
|
||||
|
||||
def bin_root(self):
|
||||
return os.path.join(self.build_dir, self.build, "stage0")
|
||||
|
@ -578,7 +572,6 @@ def bootstrap():
|
|||
|
||||
data = stage0_data(rb.rust_root)
|
||||
rb._rustc_channel, rb._rustc_date = data['rustc'].split('-', 1)
|
||||
rb._cargo_rev = data['cargo']
|
||||
|
||||
# Fetch/build the bootstrap
|
||||
rb.build = rb.build_triple()
|
||||
|
|
|
@ -23,7 +23,7 @@ use build_helper::output;
|
|||
use Build;
|
||||
|
||||
// The version number
|
||||
pub const CFG_RELEASE_NUM: &'static str = "1.17.0";
|
||||
pub const CFG_RELEASE_NUM: &'static str = "1.18.0";
|
||||
|
||||
// An optional number to put after the label, e.g. '.2' -> '-beta.2'
|
||||
// Be sure to make this starts with a dot to conform to semver pre-release
|
||||
|
|
|
@ -586,7 +586,7 @@ fn android_copy_libs(build: &Build, compiler: &Compiler, target: &str) {
|
|||
.arg(ADB_TEST_DIR));
|
||||
|
||||
let target_dir = format!("{}/{}", ADB_TEST_DIR, target);
|
||||
build.run(Command::new("adb").args(&["shell", "mkdir", &target_dir[..]]));
|
||||
build.run(Command::new("adb").args(&["shell", "mkdir", &target_dir]));
|
||||
|
||||
for f in t!(build.sysroot_libdir(compiler, target).read_dir()) {
|
||||
let f = t!(f);
|
||||
|
|
|
@ -37,8 +37,12 @@ use channel;
|
|||
use util::{cp_r, libdir, is_dylib, cp_filtered, copy, exe};
|
||||
|
||||
fn pkgname(build: &Build, component: &str) -> String {
|
||||
assert!(component.starts_with("rust")); // does not work with cargo
|
||||
format!("{}-{}", component, build.rust_package_vers())
|
||||
if component == "cargo" {
|
||||
format!("{}-{}", component, build.cargo_package_vers())
|
||||
} else {
|
||||
assert!(component.starts_with("rust"));
|
||||
format!("{}-{}", component, build.rust_package_vers())
|
||||
}
|
||||
}
|
||||
|
||||
fn distdir(build: &Build) -> PathBuf {
|
||||
|
@ -533,7 +537,7 @@ pub fn cargo(build: &Build, stage: u32, target: &str) {
|
|||
let src = build.src.join("cargo");
|
||||
let etc = src.join("src/etc");
|
||||
let release_num = build.cargo_release_num();
|
||||
let name = format!("cargo-{}", build.package_vers(&release_num));
|
||||
let name = pkgname(build, "cargo");
|
||||
let version = build.cargo_info.version(build, &release_num);
|
||||
|
||||
let tmp = tmpdir(build);
|
||||
|
@ -591,12 +595,11 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
|
|||
println!("Dist extended stage{} ({})", stage, target);
|
||||
|
||||
let dist = distdir(build);
|
||||
let cargo_vers = build.cargo_release_num();
|
||||
let rustc_installer = dist.join(format!("{}-{}.tar.gz",
|
||||
pkgname(build, "rustc"),
|
||||
target));
|
||||
let cargo_installer = dist.join(format!("cargo-{}-{}.tar.gz",
|
||||
build.package_vers(&cargo_vers),
|
||||
let cargo_installer = dist.join(format!("{}-{}.tar.gz",
|
||||
pkgname(build, "cargo"),
|
||||
target));
|
||||
let docs_installer = dist.join(format!("{}-{}.tar.gz",
|
||||
pkgname(build, "rust-docs"),
|
||||
|
@ -674,7 +677,7 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
|
|||
|
||||
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rustc"), target)),
|
||||
&pkg.join("rustc"));
|
||||
cp_r(&work.join(&format!("cargo-nightly-{}", target)),
|
||||
cp_r(&work.join(&format!("{}-{}", pkgname(build, "cargo"), target)),
|
||||
&pkg.join("cargo"));
|
||||
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-docs"), target)),
|
||||
&pkg.join("rust-docs"));
|
||||
|
@ -726,7 +729,7 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
|
|||
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rustc"), target))
|
||||
.join("rustc"),
|
||||
&exe.join("rustc"));
|
||||
cp_r(&work.join(&format!("cargo-nightly-{}", target))
|
||||
cp_r(&work.join(&format!("{}-{}", pkgname(build, "cargo"), target))
|
||||
.join("cargo"),
|
||||
&exe.join("cargo"));
|
||||
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-docs"), target))
|
||||
|
|
|
@ -1015,6 +1015,11 @@ impl Build {
|
|||
self.package_vers(channel::CFG_RELEASE_NUM)
|
||||
}
|
||||
|
||||
/// Returns the value of `package_vers` above for Cargo
|
||||
fn cargo_package_vers(&self) -> String {
|
||||
self.package_vers(&self.cargo_release_num())
|
||||
}
|
||||
|
||||
/// Returns the `version` string associated with this compiler for Rust
|
||||
/// itself.
|
||||
///
|
||||
|
|
|
@ -74,7 +74,7 @@ RUN arm-linux-gnueabihf-gcc addentropy.c -o rootfs/addentropy -static
|
|||
RUN curl -O http://ftp.nl.debian.org/debian/dists/jessie/main/installer-armhf/current/images/device-tree/vexpress-v2p-ca15-tc1.dtb
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -32,7 +32,7 @@ RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-ini
|
|||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV TARGETS=arm-linux-androideabi
|
||||
|
|
|
@ -27,10 +27,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libssl-dev \
|
||||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
dpkg -i dumb-init_*.deb && \
|
||||
rm dumb-init_*.deb
|
||||
|
@ -65,6 +61,10 @@ RUN ./build-toolchains.sh
|
|||
|
||||
USER root
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV PATH=$PATH:/x-tools/arm-unknown-linux-gnueabi/bin
|
||||
ENV PATH=$PATH:/x-tools/arm-unknown-linux-gnueabihf/bin
|
||||
|
||||
|
|
|
@ -27,10 +27,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libssl-dev \
|
||||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
dpkg -i dumb-init_*.deb && \
|
||||
rm dumb-init_*.deb
|
||||
|
@ -66,6 +62,10 @@ RUN ./build-toolchains.sh
|
|||
|
||||
USER root
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV PATH=$PATH:/x-tools/aarch64-unknown-linux-gnueabi/bin
|
||||
ENV PATH=$PATH:/x-tools/armv7-unknown-linux-gnueabihf/bin
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-ini
|
|||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV \
|
||||
|
|
|
@ -29,7 +29,7 @@ RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-ini
|
|||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV \
|
||||
|
|
|
@ -26,7 +26,7 @@ RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-ini
|
|||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV RUST_CONFIGURE_ARGS \
|
||||
|
|
|
@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -27,10 +27,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libssl-dev \
|
||||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
dpkg -i dumb-init_*.deb && \
|
||||
rm dumb-init_*.deb
|
||||
|
@ -66,6 +62,10 @@ RUN ./build-powerpc-toolchain.sh
|
|||
|
||||
USER root
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV PATH=$PATH:/x-tools/powerpc-unknown-linux-gnu/bin
|
||||
|
||||
ENV \
|
||||
|
|
|
@ -25,11 +25,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
wget \
|
||||
xz-utils \
|
||||
libssl-dev \
|
||||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
pkg-config
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
dpkg -i dumb-init_*.deb && \
|
||||
|
@ -70,6 +66,10 @@ RUN apt-get install -y --no-install-recommends rpm2cpio cpio
|
|||
COPY build-powerpc64le-toolchain.sh /tmp/
|
||||
RUN ./build-powerpc64le-toolchain.sh
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV PATH=$PATH:/x-tools/powerpc64-unknown-linux-gnu/bin
|
||||
|
||||
ENV \
|
||||
|
|
|
@ -27,10 +27,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libssl-dev \
|
||||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
dpkg -i dumb-init_*.deb && \
|
||||
rm dumb-init_*.deb
|
||||
|
@ -64,17 +60,21 @@ COPY patches/ /tmp/patches/
|
|||
COPY s390x-linux-gnu.config build-s390x-toolchain.sh /tmp/
|
||||
RUN ./build-s390x-toolchain.sh
|
||||
|
||||
USER root
|
||||
|
||||
COPY build-netbsd-toolchain.sh /tmp/
|
||||
RUN ./build-netbsd-toolchain.sh
|
||||
|
||||
ENV PATH=$PATH:/x-tools/s390x-ibm-linux-gnu/bin
|
||||
USER root
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV PATH=$PATH:/x-tools/s390x-ibm-linux-gnu/bin:/x-tools/x86_64-unknown-netbsd/bin
|
||||
|
||||
ENV \
|
||||
AR_x86_64_unknown_netbsd=x86_64-unknown-netbsd-ar \
|
||||
CC_x86_64_unknown_netbsd=x86_64-unknown-netbsd-gcc \
|
||||
CXX_x86_64_unknown_netbsd=x86_64-unknown-netbsd-g++ \
|
||||
AR_x86_64_unknown_netbsd=x86_64--netbsd-ar \
|
||||
CC_x86_64_unknown_netbsd=x86_64--netbsd-gcc-sysroot \
|
||||
CXX_x86_64_unknown_netbsd=x86_64--netbsd-g++-sysroot \
|
||||
CC_s390x_unknown_linux_gnu=s390x-ibm-linux-gnu-gcc \
|
||||
AR_s390x_unknown_linux_gnu=s390x-ibm-linux-gnu-ar \
|
||||
CXX_s390x_unknown_linux_gnu=s390x-ibm-linux-gnu-g++
|
||||
|
|
|
@ -13,108 +13,71 @@
|
|||
|
||||
set -ex
|
||||
|
||||
BINUTILS=2.25.1
|
||||
GCC=5.3.0
|
||||
hide_output() {
|
||||
set +x
|
||||
on_err="
|
||||
echo ERROR: An error was encountered with the build.
|
||||
cat /tmp/build.log
|
||||
exit 1
|
||||
"
|
||||
trap "$on_err" ERR
|
||||
bash -c "while true; do sleep 30; echo \$(date) - building ...; done" &
|
||||
PING_LOOP_PID=$!
|
||||
$@ &> /tmp/build.log
|
||||
rm /tmp/build.log
|
||||
trap - ERR
|
||||
kill $PING_LOOP_PID
|
||||
set -x
|
||||
}
|
||||
|
||||
# First up, build binutils
|
||||
mkdir binutils
|
||||
cd binutils
|
||||
curl https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS.tar.bz2 | tar xjf -
|
||||
mkdir binutils-build
|
||||
cd binutils-build
|
||||
../binutils-$BINUTILS/configure \
|
||||
--target=x86_64-unknown-netbsd
|
||||
make -j10
|
||||
make install
|
||||
cd ../..
|
||||
rm -rf binutils
|
||||
|
||||
# Next, download the NetBSD libc and relevant header files
|
||||
mkdir netbsd
|
||||
# originally from:
|
||||
# https://ftp.netbsd.org/pub/NetBSD/NetBSD-7.0/amd64/binary/sets/base.tgz
|
||||
curl https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-01-16-netbsd-base.tgz | \
|
||||
tar xzf - -C netbsd ./usr/include ./usr/lib ./lib
|
||||
# originally from:
|
||||
# https://ftp.netbsd.org/pub/NetBSD/NetBSD-7.0/amd64/binary/sets/comp.tgz
|
||||
curl https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-01-16-netbsd-comp.tgz | \
|
||||
tar xzf - -C netbsd ./usr/include ./usr/lib
|
||||
cd netbsd
|
||||
|
||||
dst=/usr/local/x86_64-unknown-netbsd
|
||||
cp -r netbsd/usr/include $dst
|
||||
cp netbsd/usr/lib/crt0.o $dst/lib
|
||||
cp netbsd/usr/lib/crti.o $dst/lib
|
||||
cp netbsd/usr/lib/crtn.o $dst/lib
|
||||
cp netbsd/usr/lib/crtbeginS.o $dst/lib
|
||||
cp netbsd/usr/lib/crtendS.o $dst/lib
|
||||
cp netbsd/usr/lib/crtbegin.o $dst/lib
|
||||
cp netbsd/usr/lib/crtend.o $dst/lib
|
||||
cp netbsd/usr/lib/gcrt0.o $dst/lib
|
||||
cp netbsd/usr/lib/libc.a $dst/lib
|
||||
cp netbsd/usr/lib/libc_p.a $dst/lib
|
||||
cp netbsd/usr/lib/libc_pic.a $dst/lib
|
||||
cp netbsd/lib/libc.so.12.193.1 $dst/lib
|
||||
cp netbsd/lib/libutil.so.7.21 $dst/lib
|
||||
cp netbsd/usr/lib/libm.a $dst/lib
|
||||
cp netbsd/usr/lib/libm_p.a $dst/lib
|
||||
cp netbsd/usr/lib/libm_pic.a $dst/lib
|
||||
cp netbsd/lib/libm.so.0.11 $dst/lib
|
||||
cp netbsd/usr/lib/librt.so.1.1 $dst/lib
|
||||
cp netbsd/usr/lib/libpthread.a $dst/lib
|
||||
cp netbsd/usr/lib/libpthread_p.a $dst/lib
|
||||
cp netbsd/usr/lib/libpthread_pic.a $dst/lib
|
||||
cp netbsd/usr/lib/libpthread.so.1.2 $dst/lib
|
||||
mkdir -p /x-tools/x86_64-unknown-netbsd/sysroot
|
||||
|
||||
ln -s libc.so.12.193.1 $dst/lib/libc.so
|
||||
ln -s libc.so.12.193.1 $dst/lib/libc.so.12
|
||||
ln -s libm.so.0.11 $dst/lib/libm.so
|
||||
ln -s libm.so.0.11 $dst/lib/libm.so.0
|
||||
ln -s libutil.so.7.21 $dst/lib/libutil.so
|
||||
ln -s libutil.so.7.21 $dst/lib/libutil.so.7
|
||||
ln -s libpthread.so.1.2 $dst/lib/libpthread.so
|
||||
ln -s libpthread.so.1.2 $dst/lib/libpthread.so.1
|
||||
ln -s librt.so.1.1 $dst/lib/librt.so
|
||||
URL=https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
|
||||
|
||||
rm -rf netbsd
|
||||
# Originally from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-$BSD/source/sets/*.tgz
|
||||
curl $URL/2017-03-17-netbsd-src.tgz | tar xzf -
|
||||
curl $URL/2017-03-17-netbsd-gnusrc.tgz | tar xzf -
|
||||
curl $URL/2017-03-17-netbsd-sharesrc.tgz | tar xzf -
|
||||
curl $URL/2017-03-17-netbsd-syssrc.tgz | tar xzf -
|
||||
|
||||
# Finally, download and build gcc to target NetBSD
|
||||
mkdir gcc
|
||||
cd gcc
|
||||
curl https://ftp.gnu.org/gnu/gcc/gcc-$GCC/gcc-$GCC.tar.bz2 | tar xjf -
|
||||
cd gcc-$GCC
|
||||
./contrib/download_prerequisites
|
||||
# Originally from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-$BSD/amd64/binary/sets/*.tgz
|
||||
curl $URL/2017-03-17-netbsd-base.tgz | \
|
||||
tar xzf - -C /x-tools/x86_64-unknown-netbsd/sysroot ./usr/include ./usr/lib ./lib
|
||||
curl $URL/2017-03-17-netbsd-comp.tgz | \
|
||||
tar xzf - -C /x-tools/x86_64-unknown-netbsd/sysroot ./usr/include ./usr/lib
|
||||
|
||||
# Originally from
|
||||
# ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2016Q4/pkgsrc/lang/gcc5/patches/patch-libstdc%2B%2B-v3_config_os_bsd_netbsd_ctype__base.h
|
||||
PATCHES="https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-01-13-netbsd-patch1.patch"
|
||||
cd usr/src
|
||||
|
||||
# Originally from
|
||||
# ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2016Q4/pkgsrc/lang/gcc5/patches/patch-libstdc%2B%2B-v3_config_os_bsd_netbsd_ctype__configure__char.cc
|
||||
PATCHES="$PATCHES https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-01-13-netbsd-patch2.patch"
|
||||
|
||||
for patch in $PATCHES; do
|
||||
curl $patch | patch -Np0
|
||||
done
|
||||
|
||||
mkdir ../gcc-build
|
||||
cd ../gcc-build
|
||||
../gcc-$GCC/configure \
|
||||
--enable-languages=c,c++ \
|
||||
--target=x86_64-unknown-netbsd \
|
||||
--disable-libcilkrts \
|
||||
--disable-multilib \
|
||||
--disable-nls \
|
||||
--disable-libgomp \
|
||||
--disable-libquadmath \
|
||||
--disable-libssp \
|
||||
--disable-libvtv \
|
||||
--disable-libcilkrt \
|
||||
--disable-libada \
|
||||
--disable-libsanitizer \
|
||||
--disable-libquadmath-support \
|
||||
--disable-lto
|
||||
make -j10
|
||||
make install
|
||||
# The options, in order, do the following
|
||||
# * this is an unpriviledged build
|
||||
# * output to a predictable location
|
||||
# * disable various uneeded stuff
|
||||
MKUNPRIVED=yes TOOLDIR=/x-tools/x86_64-unknown-netbsd \
|
||||
MKSHARE=no MKDOC=no MKHTML=no MKINFO=no MKKMOD=no MKLINT=no MKMAN=no MKNLS=no MKPROFILE=no \
|
||||
hide_output ./build.sh -j10 -m amd64 tools
|
||||
|
||||
cd ../..
|
||||
rm -rf gcc
|
||||
|
||||
rm -rf usr
|
||||
|
||||
cat > /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-gcc-sysroot <<'EOF'
|
||||
#!/bin/bash
|
||||
exec /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-gcc --sysroot=/x-tools/x86_64-unknown-netbsd/sysroot "$@"
|
||||
EOF
|
||||
|
||||
cat > /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-g++-sysroot <<'EOF'
|
||||
#!/bin/bash
|
||||
exec /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-g++ --sysroot=/x-tools/x86_64-unknown-netbsd/sysroot "$@"
|
||||
EOF
|
||||
|
||||
GCC_SHA1=`sha1sum -b /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-gcc | cut -d' ' -f1`
|
||||
GPP_SHA1=`sha1sum -b /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-g++ | cut -d' ' -f1`
|
||||
|
||||
echo "# $GCC_SHA1" >> /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-gcc-sysroot
|
||||
echo "# $GPP_SHA1" >> /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-g++-sysroot
|
||||
|
||||
chmod +x /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-gcc-sysroot
|
||||
chmod +x /x-tools/x86_64-unknown-netbsd/bin/x86_64--netbsd-g++-sysroot
|
||||
|
|
|
@ -6,6 +6,7 @@ RUN yum upgrade -y && yum install -y \
|
|||
curl \
|
||||
bzip2 \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
make \
|
||||
glibc-devel \
|
||||
perl \
|
||||
|
@ -75,7 +76,7 @@ RUN curl -Lo /rustroot/dumb-init \
|
|||
ENTRYPOINT ["/rustroot/dumb-init", "--"]
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV HOSTS=i686-unknown-linux-gnu
|
||||
|
|
|
@ -13,12 +13,14 @@ set -ex
|
|||
|
||||
source shared.sh
|
||||
|
||||
curl https://ftp.gnu.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2 | tar xjf -
|
||||
cd gcc-4.7.4
|
||||
GCC=4.8.5
|
||||
|
||||
curl https://ftp.gnu.org/gnu/gcc/gcc-$GCC/gcc-$GCC.tar.bz2 | tar xjf -
|
||||
cd gcc-$GCC
|
||||
./contrib/download_prerequisites
|
||||
mkdir ../gcc-build
|
||||
cd ../gcc-build
|
||||
hide_output ../gcc-4.7.4/configure \
|
||||
hide_output ../gcc-$GCC/configure \
|
||||
--prefix=/rustroot \
|
||||
--enable-languages=c,c++
|
||||
hide_output make -j10
|
||||
|
@ -27,5 +29,5 @@ ln -nsf gcc /rustroot/bin/cc
|
|||
|
||||
cd ..
|
||||
rm -rf gcc-build
|
||||
rm -rf gcc-4.7.4
|
||||
yum erase -y gcc binutils
|
||||
rm -rf gcc-$GCC
|
||||
yum erase -y gcc gcc-c++ binutils
|
||||
|
|
|
@ -26,7 +26,7 @@ RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-ini
|
|||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
ENV RUST_CONFIGURE_ARGS \
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
lib32stdc++6
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -29,7 +29,24 @@ exit 1
|
|||
}
|
||||
|
||||
curl https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | \
|
||||
tar xzf -
|
||||
tar xzf -
|
||||
|
||||
# Some versions of the EMSDK archive have their contents in .emsdk-portable
|
||||
# and others in emsdk_portable. Make sure the EMSDK ends up in a fixed path.
|
||||
if [ -d emsdk-portable ]; then
|
||||
mv emsdk-portable emsdk_portable
|
||||
fi
|
||||
|
||||
if [ ! -d emsdk_portable ]; then
|
||||
echo "ERROR: Invalid emsdk archive. Dumping working directory." >&2
|
||||
ls -l
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Some versions of the EMSDK set the permissions of the root directory to
|
||||
# 0700. Ensure the directory is readable by all users.
|
||||
chmod 755 emsdk_portable
|
||||
|
||||
source emsdk_portable/emsdk_env.sh
|
||||
hide_output emsdk update
|
||||
hide_output emsdk install --build=Release sdk-tag-1.37.1-32bit
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -57,6 +57,7 @@ exec docker \
|
|||
--env DEPLOY_ALT=$DEPLOY_ALT \
|
||||
--env LOCAL_USER_ID=`id -u` \
|
||||
--volume "$HOME/.cargo:/cargo" \
|
||||
--volume "$HOME/rustsrc:$HOME/rustsrc" \
|
||||
--privileged \
|
||||
--rm \
|
||||
rust-ci \
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
pkg-config
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
xz-utils
|
||||
|
||||
RUN curl -o /usr/local/bin/sccache \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-unknown-linux-musl && \
|
||||
https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-24-sccache-x86_64-unknown-linux-musl && \
|
||||
chmod +x /usr/local/bin/sccache
|
||||
|
||||
RUN curl -OL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && \
|
||||
|
|
71
src/ci/init_repo.sh
Executable file
71
src/ci/init_repo.sh
Executable file
|
@ -0,0 +1,71 @@
|
|||
#!/bin/bash
|
||||
# Copyright 2016 The Rust Project Developers. See the COPYRIGHT
|
||||
# file at the top-level directory of this distribution and at
|
||||
# http://rust-lang.org/COPYRIGHT.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
set -o errexit
|
||||
set -o pipefail
|
||||
set -o nounset
|
||||
|
||||
set -o xtrace
|
||||
|
||||
ci_dir=$(cd $(dirname $0) && pwd)
|
||||
. "$ci_dir/shared.sh"
|
||||
|
||||
REPO_DIR="$1"
|
||||
CACHE_DIR="$2"
|
||||
|
||||
cache_src_dir="$CACHE_DIR/src"
|
||||
# If the layout of the cache directory changes, bump the number here
|
||||
# (and anywhere else this file is referenced) so the cache is wiped
|
||||
cache_valid_file="$CACHE_DIR/cache_valid1"
|
||||
|
||||
if [ ! -d "$REPO_DIR" -o ! -d "$REPO_DIR/.git" ]; then
|
||||
echo "Error: $REPO_DIR does not exist or is not a git repo"
|
||||
exit 1
|
||||
fi
|
||||
cd $REPO_DIR
|
||||
if [ ! -d "$CACHE_DIR" ]; then
|
||||
echo "Error: $CACHE_DIR does not exist or is not an absolute path"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Wipe the cache if it's not valid, or mark it as invalid while we update it
|
||||
if [ ! -f "$cache_valid_file" ]; then
|
||||
rm -rf "$CACHE_DIR" && mkdir "$CACHE_DIR"
|
||||
else
|
||||
rm "$cache_valid_file"
|
||||
fi
|
||||
|
||||
# Update the cache (a pristine copy of the rust source master)
|
||||
if [ ! -d "$cache_src_dir/.git" ]; then
|
||||
retry sh -c "rm -rf $cache_src_dir && mkdir -p $cache_src_dir && \
|
||||
git clone https://github.com/rust-lang/rust.git $cache_src_dir"
|
||||
fi
|
||||
retry sh -c "cd $cache_src_dir && git reset --hard && git pull"
|
||||
retry sh -c "cd $cache_src_dir && \
|
||||
git submodule deinit -f . && git submodule sync && git submodule update --init"
|
||||
|
||||
# Cache was updated without errors, mark it as valid
|
||||
touch "$cache_valid_file"
|
||||
|
||||
# Update the submodules of the repo we're in, using the pristine repo as
|
||||
# a cache for any object files
|
||||
# No, `git submodule foreach` won't work:
|
||||
# http://stackoverflow.com/questions/12641469/list-submodules-in-a-git-repository
|
||||
modules="$(git config --file .gitmodules --get-regexp '\.path$' | cut -d' ' -f2)"
|
||||
for module in $modules; do
|
||||
if [ ! -d "$cache_src_dir/$module" ]; then
|
||||
echo "WARNING: $module not found in pristine repo"
|
||||
retry sh -c "git submodule deinit -f $module && git submodule update --init $module"
|
||||
continue
|
||||
fi
|
||||
retry sh -c "git submodule deinit -f $module && \
|
||||
git submodule update --init --reference $cache_src_dir/$module $module"
|
||||
done
|
|
@ -24,7 +24,6 @@ ci_dir=`cd $(dirname $0) && pwd`
|
|||
source "$ci_dir/shared.sh"
|
||||
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-sccache"
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-quiet-tests"
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-manage-submodules"
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-locked-deps"
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-cargo-openssl-static"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/false
|
||||
# Copyright 2016 The Rust Project Developers. See the COPYRIGHT
|
||||
# file at the top-level directory of this distribution and at
|
||||
# http://rust-lang.org/COPYRIGHT.
|
||||
|
@ -9,13 +9,16 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
# This file is intended to be sourced with `. shared.sh` or
|
||||
# `source shared.sh`, hence the invalid shebang and not being
|
||||
# marked as an executable file in git.
|
||||
|
||||
# See http://unix.stackexchange.com/questions/82598
|
||||
function retry {
|
||||
echo "Attempting with retry:" "$@"
|
||||
local n=1
|
||||
local max=5
|
||||
local delay=15
|
||||
while true; do
|
||||
echo "Attempting:" "$@"
|
||||
"$@" && break || {
|
||||
if [[ $n -lt $max ]]; then
|
||||
((n++))
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9bd223ca406b1170a24942d6474f9e8a56f4a420
|
||||
Subproject commit a2c56870d4dc589237102cc5e0fe7b9ebd0d14a1
|
|
@ -1 +1 @@
|
|||
Subproject commit d08fe97d12b41c1ed8cc7701e545864132783941
|
||||
Subproject commit 616b98444ff4eb5260deee95ee3e090dfd98b947
|
|
@ -1 +1 @@
|
|||
Subproject commit 516549972d61c8946542d1a34afeae97167ff77b
|
||||
Subproject commit acedc32cacae80cf2f4925753a4ce7f7ffd7c86a
|
|
@ -1,3 +1,3 @@
|
|||
% The Rust Reference Manual
|
||||
|
||||
The manual has moved, and is now called [the reference](reference.html).
|
||||
The manual has moved, and is now called [the reference](reference/index.html).
|
||||
|
|
|
@ -7,90 +7,207 @@
|
|||
- [abi_vectorcall](abi-vectorcall.md)
|
||||
- [abi_x86_interrupt](abi-x86-interrupt.md)
|
||||
- [advanced_slice_patterns](advanced-slice-patterns.md)
|
||||
- [alloc](alloc.md)
|
||||
- [alloc_jemalloc](alloc-jemalloc.md)
|
||||
- [alloc_system](alloc-system.md)
|
||||
- [allocator](allocator.md)
|
||||
- [allow_internal_unstable](allow-internal-unstable.md)
|
||||
- [as_unsafe_cell](as-unsafe-cell.md)
|
||||
- [ascii_ctype](ascii-ctype.md)
|
||||
- [asm](asm.md)
|
||||
- [associated_consts](associated-consts.md)
|
||||
- [associated_type_defaults](associated-type-defaults.md)
|
||||
- [attr_literals](attr-literals.md)
|
||||
- [binary_heap_extras](binary-heap-extras.md)
|
||||
- [binary_heap_peek_mut_pop](binary-heap-peek-mut-pop.md)
|
||||
- [borrow_state](borrow-state.md)
|
||||
- [box_heap](box-heap.md)
|
||||
- [box_patterns](box-patterns.md)
|
||||
- [box_syntax](box-syntax.md)
|
||||
- [c_void_variant](c-void-variant.md)
|
||||
- [catch_expr](catch-expr.md)
|
||||
- [cfg_target_feature](cfg-target-feature.md)
|
||||
- [cfg_target_has_atomic](cfg-target-has-atomic.md)
|
||||
- [cfg_target_thread_local](cfg-target-thread-local.md)
|
||||
- [cfg_target_vendor](cfg-target-vendor.md)
|
||||
- [char_escape_debug](char-escape-debug.md)
|
||||
- [closure_to_fn_coercion](closure-to-fn-coercion.md)
|
||||
- [coerce_unsized](coerce-unsized.md)
|
||||
- [collection_placement](collection-placement.md)
|
||||
- [collections](collections.md)
|
||||
- [collections_range](collections-range.md)
|
||||
- [command_envs](command-envs.md)
|
||||
- [compiler_builtins](compiler-builtins.md)
|
||||
- [compiler_builtins_lib](compiler-builtins-lib.md)
|
||||
- [concat_idents](concat-idents.md)
|
||||
- [concat_idents_macro](concat-idents-macro.md)
|
||||
- [conservative_impl_trait](conservative-impl-trait.md)
|
||||
- [const_fn](const-fn.md)
|
||||
- [const_indexing](const-indexing.md)
|
||||
- [core_char_ext](core-char-ext.md)
|
||||
- [core_float](core-float.md)
|
||||
- [core_intrinsics](core-intrinsics.md)
|
||||
- [core_panic](core-panic.md)
|
||||
- [core_private_bignum](core-private-bignum.md)
|
||||
- [core_private_diy_float](core-private-diy-float.md)
|
||||
- [core_slice_ext](core-slice-ext.md)
|
||||
- [core_str_ext](core-str-ext.md)
|
||||
- [custom_attribute](custom-attribute.md)
|
||||
- [custom_derive](custom-derive.md)
|
||||
- [dec2flt](dec2flt.md)
|
||||
- [decode_utf8](decode-utf8.md)
|
||||
- [default_type_parameter_fallback](default-type-parameter-fallback.md)
|
||||
- [derive_clone_copy](derive-clone-copy.md)
|
||||
- [derive_eq](derive-eq.md)
|
||||
- [discriminant_value](discriminant-value.md)
|
||||
- [drop_types_in_const](drop-types-in-const.md)
|
||||
- [dropck_eyepatch](dropck-eyepatch.md)
|
||||
- [dropck_parametricity](dropck-parametricity.md)
|
||||
- [enumset](enumset.md)
|
||||
- [error_type_id](error-type-id.md)
|
||||
- [exact_size_is_empty](exact-size-is-empty.md)
|
||||
- [exclusive_range_pattern](exclusive-range-pattern.md)
|
||||
- [field_init_shorthand](field-init-shorthand.md)
|
||||
- [fd](fd.md)
|
||||
- [fd_read](fd-read.md)
|
||||
- [fixed_size_array](fixed-size-array.md)
|
||||
- [float_extras](float-extras.md)
|
||||
- [flt2dec](flt2dec.md)
|
||||
- [fmt_flags_align](fmt-flags-align.md)
|
||||
- [fmt_internals](fmt-internals.md)
|
||||
- [fn_traits](fn-traits.md)
|
||||
- [fnbox](fnbox.md)
|
||||
- [fundamental](fundamental.md)
|
||||
- [fused](fused.md)
|
||||
- [future_atomic_orderings](future-atomic-orderings.md)
|
||||
- [generic_param_attrs](generic-param-attrs.md)
|
||||
- [get_type_id](get-type-id.md)
|
||||
- [heap_api](heap-api.md)
|
||||
- [i128](i128.md)
|
||||
- [i128_type](i128-type.md)
|
||||
- [inclusive_range](inclusive-range.md)
|
||||
- [inclusive_range_syntax](inclusive-range-syntax.md)
|
||||
- [int_error_internals](int-error-internals.md)
|
||||
- [integer_atomics](integer-atomics.md)
|
||||
- [into_boxed_c_str](into-boxed-c-str.md)
|
||||
- [into_boxed_os_str](into-boxed-os-str.md)
|
||||
- [into_boxed_path](into-boxed-path.md)
|
||||
- [intrinsics](intrinsics.md)
|
||||
- [io](io.md)
|
||||
- [io_error_internals](io-error-internals.md)
|
||||
- [ip](ip.md)
|
||||
- [is_unique](is-unique.md)
|
||||
- [iter_rfind](iter-rfind.md)
|
||||
- [lang_items](lang-items.md)
|
||||
- [libstd_io_internals](libstd-io-internals.md)
|
||||
- [libstd_sys_internals](libstd-sys-internals.md)
|
||||
- [libstd_thread_internals](libstd-thread-internals.md)
|
||||
- [link_args](link-args.md)
|
||||
- [link_cfg](link-cfg.md)
|
||||
- [link_llvm_intrinsics](link-llvm-intrinsics.md)
|
||||
- [linkage](linkage.md)
|
||||
- [linked_list_extras](linked-list-extras.md)
|
||||
- [log_syntax](log-syntax.md)
|
||||
- [lookup_host](lookup-host.md)
|
||||
- [loop_break_value](loop-break-value.md)
|
||||
- [macro_reexport](macro-reexport.md)
|
||||
- [main](main.md)
|
||||
- [map_entry_recover_keys](map-entry-recover-keys.md)
|
||||
- [mpsc_select](mpsc-select.md)
|
||||
- [n16](n16.md)
|
||||
- [naked_functions](naked-functions.md)
|
||||
- [needs_allocator](needs-allocator.md)
|
||||
- [needs_panic_runtime](needs-panic-runtime.md)
|
||||
- [never_type](never-type.md)
|
||||
- [never_type_impls](never-type-impls.md)
|
||||
- [no_core](no-core.md)
|
||||
- [no_debug](no-debug.md)
|
||||
- [non_ascii_idents](non-ascii-idents.md)
|
||||
- [nonzero](nonzero.md)
|
||||
- [omit_gdb_pretty_printer_section](omit-gdb-pretty-printer-section.md)
|
||||
- [on_unimplemented](on-unimplemented.md)
|
||||
- [once_poison](once-poison.md)
|
||||
- [oom](oom.md)
|
||||
- [optin_builtin_traits](optin-builtin-traits.md)
|
||||
- [option_entry](option-entry.md)
|
||||
- [osstring_shrink_to_fit](osstring-shrink-to-fit.md)
|
||||
- [panic_abort](panic-abort.md)
|
||||
- [panic_runtime](panic-runtime.md)
|
||||
- [panic_unwind](panic-unwind.md)
|
||||
- [pattern](pattern.md)
|
||||
- [peek](peek.md)
|
||||
- [placement_in](placement-in.md)
|
||||
- [placement_in_syntax](placement-in-syntax.md)
|
||||
- [placement_new_protocol](placement-new-protocol.md)
|
||||
- [platform_intrinsics](platform-intrinsics.md)
|
||||
- [plugin](plugin.md)
|
||||
- [plugin_registrar](plugin-registrar.md)
|
||||
- [prelude_import](prelude-import.md)
|
||||
- [print](print.md)
|
||||
- [proc_macro](proc-macro.md)
|
||||
- [proc_macro_internals](proc-macro-internals.md)
|
||||
- [process_try_wait](process-try-wait.md)
|
||||
- [question_mark_carrier](question-mark-carrier.md)
|
||||
- [quote](quote.md)
|
||||
- [rand](rand.md)
|
||||
- [range_contains](range-contains.md)
|
||||
- [raw](raw.md)
|
||||
- [rc_would_unwrap](rc-would-unwrap.md)
|
||||
- [relaxed_adts](relaxed-adts.md)
|
||||
- [repr_simd](repr-simd.md)
|
||||
- [retain_hash_collection](retain-hash-collection.md)
|
||||
- [reverse_cmp_key](reverse-cmp-key.md)
|
||||
- [rt](rt.md)
|
||||
- [rustc_attrs](rustc-attrs.md)
|
||||
- [rustc_diagnostic_macros](rustc-diagnostic-macros.md)
|
||||
- [rustc_private](rustc-private.md)
|
||||
- [rvalue_static_promotion](rvalue-static-promotion.md)
|
||||
- [sanitizer_runtime](sanitizer-runtime.md)
|
||||
- [sanitizer_runtime_lib](sanitizer-runtime-lib.md)
|
||||
- [set_stdio](set-stdio.md)
|
||||
- [shared](shared.md)
|
||||
- [simd](simd.md)
|
||||
- [simd_ffi](simd-ffi.md)
|
||||
- [sip_hash_13](sip-hash-13.md)
|
||||
- [slice_concat_ext](slice-concat-ext.md)
|
||||
- [slice_get_slice](slice-get-slice.md)
|
||||
- [slice_patterns](slice-patterns.md)
|
||||
- [sort_internals](sort-internals.md)
|
||||
- [sort_unstable](sort-unstable.md)
|
||||
- [specialization](specialization.md)
|
||||
- [staged_api](staged-api.md)
|
||||
- [start](start.md)
|
||||
- [static_nobundle](static-nobundle.md)
|
||||
- [static_recursion](static-recursion.md)
|
||||
- [step_by](step-by.md)
|
||||
- [step_trait](step-trait.md)
|
||||
- [stmt_expr_attributes](stmt-expr-attributes.md)
|
||||
- [str_checked_slicing](str-checked-slicing.md)
|
||||
- [str_escape](str-escape.md)
|
||||
- [str_internals](str-internals.md)
|
||||
- [struct_field_attributes](struct-field-attributes.md)
|
||||
- [structural_match](structural-match.md)
|
||||
- [target_feature](target-feature.md)
|
||||
- [test](test.md)
|
||||
- [thread_id](thread-id.md)
|
||||
- [thread_local](thread-local.md)
|
||||
- [thread_local_internals](thread-local-internals.md)
|
||||
- [thread_local_state](thread-local-state.md)
|
||||
- [trace_macros](trace-macros.md)
|
||||
- [trusted_len](trusted-len.md)
|
||||
- [try_from](try-from.md)
|
||||
- [type_ascription](type-ascription.md)
|
||||
- [unboxed_closures](unboxed-closures.md)
|
||||
- [unicode](unicode.md)
|
||||
- [unique](unique.md)
|
||||
- [unsize](unsize.md)
|
||||
- [untagged_unions](untagged-unions.md)
|
||||
- [unwind_attributes](unwind-attributes.md)
|
||||
- [update_panic_count](update-panic-count.md)
|
||||
- [use_extern_macros](use-extern-macros.md)
|
||||
- [utf8_error_error_len](utf8-error-error-len.md)
|
||||
- [vec_remove_item](vec-remove-item.md)
|
||||
- [windows_c](windows-c.md)
|
||||
- [windows_handle](windows-handle.md)
|
||||
- [windows_net](windows-net.md)
|
||||
- [windows_stdio](windows-stdio.md)
|
||||
- [windows_subsystem](windows-subsystem.md)
|
||||
- [zero_one](zero-one.md)
|
||||
|
|
7
src/doc/unstable-book/src/alloc.md
Normal file
7
src/doc/unstable-book/src/alloc.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `alloc`
|
||||
|
||||
The tracking issue for this feature is: [#27783]
|
||||
|
||||
[#27783]: https://github.com/rust-lang/rust/issues/27783
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/as-unsafe-cell.md
Normal file
7
src/doc/unstable-book/src/as-unsafe-cell.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `as_unsafe_cell`
|
||||
|
||||
The tracking issue for this feature is: [#27708]
|
||||
|
||||
[#27708]: https://github.com/rust-lang/rust/issues/27708
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/ascii-ctype.md
Normal file
5
src/doc/unstable-book/src/ascii-ctype.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `ascii_ctype`
|
||||
|
||||
The tracking issue for this feature is: [#39658]
|
||||
|
||||
[#39658]: https://github.com/rust-lang/rust/issues/39658
|
7
src/doc/unstable-book/src/binary-heap-extras.md
Normal file
7
src/doc/unstable-book/src/binary-heap-extras.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `binary_heap_extras`
|
||||
|
||||
The tracking issue for this feature is: [#28147]
|
||||
|
||||
[#28147]: https://github.com/rust-lang/rust/issues/28147
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/binary-heap-peek-mut-pop.md
Normal file
7
src/doc/unstable-book/src/binary-heap-peek-mut-pop.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `binary_heap_peek_mut_pop`
|
||||
|
||||
The tracking issue for this feature is: [#38863]
|
||||
|
||||
[#38863]: https://github.com/rust-lang/rust/issues/38863
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/borrow-state.md
Normal file
7
src/doc/unstable-book/src/borrow-state.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `borrow_state`
|
||||
|
||||
The tracking issue for this feature is: [#27733]
|
||||
|
||||
[#27733]: https://github.com/rust-lang/rust/issues/27733
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/box-heap.md
Normal file
7
src/doc/unstable-book/src/box-heap.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `box_heap`
|
||||
|
||||
The tracking issue for this feature is: [#27779]
|
||||
|
||||
[#27779]: https://github.com/rust-lang/rust/issues/27779
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/c-void-variant.md
Normal file
5
src/doc/unstable-book/src/c-void-variant.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `c_void_variant`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/catch-expr.md
Normal file
7
src/doc/unstable-book/src/catch-expr.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `catch_expr`
|
||||
|
||||
The tracking issue for this feature is: [#31436]
|
||||
|
||||
[#31436]: https://github.com/rust-lang/rust/issues/31436
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/char-escape-debug.md
Normal file
7
src/doc/unstable-book/src/char-escape-debug.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `char_escape_debug`
|
||||
|
||||
The tracking issue for this feature is: [#35068]
|
||||
|
||||
[#35068]: https://github.com/rust-lang/rust/issues/35068
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/closure-to-fn-coercion.md
Normal file
7
src/doc/unstable-book/src/closure-to-fn-coercion.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `closure_to_fn_coercion`
|
||||
|
||||
The tracking issue for this feature is: [#39817]
|
||||
|
||||
[#39817]: https://github.com/rust-lang/rust/issues/39817
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/coerce-unsized.md
Normal file
7
src/doc/unstable-book/src/coerce-unsized.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `coerce_unsized`
|
||||
|
||||
The tracking issue for this feature is: [#27732]
|
||||
|
||||
[#27732]: https://github.com/rust-lang/rust/issues/27732
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/collection-placement.md
Normal file
7
src/doc/unstable-book/src/collection-placement.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `collection_placement`
|
||||
|
||||
The tracking issue for this feature is: [#30172]
|
||||
|
||||
[#30172]: https://github.com/rust-lang/rust/issues/30172
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/collections-range.md
Normal file
7
src/doc/unstable-book/src/collections-range.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `collections_range`
|
||||
|
||||
The tracking issue for this feature is: [#30877]
|
||||
|
||||
[#30877]: https://github.com/rust-lang/rust/issues/30877
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/collections.md
Normal file
5
src/doc/unstable-book/src/collections.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `collections`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/command-envs.md
Normal file
7
src/doc/unstable-book/src/command-envs.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `command_envs`
|
||||
|
||||
The tracking issue for this feature is: [#38526]
|
||||
|
||||
[#38526]: https://github.com/rust-lang/rust/issues/38526
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/compiler-builtins-lib.md
Normal file
5
src/doc/unstable-book/src/compiler-builtins-lib.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `compiler_builtins_lib`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/concat-idents-macro.md
Normal file
7
src/doc/unstable-book/src/concat-idents-macro.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `concat_idents_macro`
|
||||
|
||||
The tracking issue for this feature is: [#29599]
|
||||
|
||||
[#29599]: https://github.com/rust-lang/rust/issues/29599
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/core-char-ext.md
Normal file
7
src/doc/unstable-book/src/core-char-ext.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `core_char_ext`
|
||||
|
||||
The tracking issue for this feature is: [#32110]
|
||||
|
||||
[#32110]: https://github.com/rust-lang/rust/issues/32110
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/core-float.md
Normal file
7
src/doc/unstable-book/src/core-float.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `core_float`
|
||||
|
||||
The tracking issue for this feature is: [#32110]
|
||||
|
||||
[#32110]: https://github.com/rust-lang/rust/issues/32110
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/core-intrinsics.md
Normal file
5
src/doc/unstable-book/src/core-intrinsics.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `core_intrinsics`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/core-panic.md
Normal file
5
src/doc/unstable-book/src/core-panic.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `core_panic`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/core-private-bignum.md
Normal file
5
src/doc/unstable-book/src/core-private-bignum.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `core_private_bignum`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/core-private-diy-float.md
Normal file
5
src/doc/unstable-book/src/core-private-diy-float.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `core_private_diy_float`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/core-slice-ext.md
Normal file
7
src/doc/unstable-book/src/core-slice-ext.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `core_slice_ext`
|
||||
|
||||
The tracking issue for this feature is: [#32110]
|
||||
|
||||
[#32110]: https://github.com/rust-lang/rust/issues/32110
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/core-str-ext.md
Normal file
7
src/doc/unstable-book/src/core-str-ext.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `core_str_ext`
|
||||
|
||||
The tracking issue for this feature is: [#32110]
|
||||
|
||||
[#32110]: https://github.com/rust-lang/rust/issues/32110
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/dec2flt.md
Normal file
5
src/doc/unstable-book/src/dec2flt.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `dec2flt`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/decode-utf8.md
Normal file
7
src/doc/unstable-book/src/decode-utf8.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `decode_utf8`
|
||||
|
||||
The tracking issue for this feature is: [#27783]
|
||||
|
||||
[#27783]: https://github.com/rust-lang/rust/issues/27783
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/derive-clone-copy.md
Normal file
5
src/doc/unstable-book/src/derive-clone-copy.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `derive_clone_copy`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/derive-eq.md
Normal file
5
src/doc/unstable-book/src/derive-eq.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `derive_eq`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/discriminant-value.md
Normal file
7
src/doc/unstable-book/src/discriminant-value.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `discriminant_value`
|
||||
|
||||
The tracking issue for this feature is: [#24263]
|
||||
|
||||
[#24263]: https://github.com/rust-lang/rust/issues/24263
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/enumset.md
Normal file
7
src/doc/unstable-book/src/enumset.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `enumset`
|
||||
|
||||
The tracking issue for this feature is: [#37966]
|
||||
|
||||
[#37966]: https://github.com/rust-lang/rust/issues/37966
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/error-type-id.md
Normal file
7
src/doc/unstable-book/src/error-type-id.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `error_type_id`
|
||||
|
||||
The tracking issue for this feature is: [#27745]
|
||||
|
||||
[#27745]: https://github.com/rust-lang/rust/issues/27745
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/exact-size-is-empty.md
Normal file
7
src/doc/unstable-book/src/exact-size-is-empty.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `exact_size_is_empty`
|
||||
|
||||
The tracking issue for this feature is: [#35428]
|
||||
|
||||
[#35428]: https://github.com/rust-lang/rust/issues/35428
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/fd-read.md
Normal file
5
src/doc/unstable-book/src/fd-read.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `fd_read`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/fd.md
Normal file
5
src/doc/unstable-book/src/fd.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `fd`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
|
@ -1,10 +0,0 @@
|
|||
# `field_init_shorthand`
|
||||
|
||||
The tracking issue for this feature is: [#37340]
|
||||
|
||||
[#37340]: https://github.com/rust-lang/rust/issues/37340
|
||||
|
||||
------------------------
|
||||
|
||||
|
||||
|
7
src/doc/unstable-book/src/fixed-size-array.md
Normal file
7
src/doc/unstable-book/src/fixed-size-array.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `fixed_size_array`
|
||||
|
||||
The tracking issue for this feature is: [#27778]
|
||||
|
||||
[#27778]: https://github.com/rust-lang/rust/issues/27778
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/float-extras.md
Normal file
7
src/doc/unstable-book/src/float-extras.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `float_extras`
|
||||
|
||||
The tracking issue for this feature is: [#27752]
|
||||
|
||||
[#27752]: https://github.com/rust-lang/rust/issues/27752
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/flt2dec.md
Normal file
5
src/doc/unstable-book/src/flt2dec.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `flt2dec`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/fmt-flags-align.md
Normal file
7
src/doc/unstable-book/src/fmt-flags-align.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `fmt_flags_align`
|
||||
|
||||
The tracking issue for this feature is: [#27726]
|
||||
|
||||
[#27726]: https://github.com/rust-lang/rust/issues/27726
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/fmt-internals.md
Normal file
5
src/doc/unstable-book/src/fmt-internals.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `fmt_internals`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/fn-traits.md
Normal file
7
src/doc/unstable-book/src/fn-traits.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `fn_traits`
|
||||
|
||||
The tracking issue for this feature is: [#29625]
|
||||
|
||||
[#29625]: https://github.com/rust-lang/rust/issues/29625
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/fnbox.md
Normal file
7
src/doc/unstable-book/src/fnbox.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `fnbox`
|
||||
|
||||
The tracking issue for this feature is: [#28796]
|
||||
|
||||
[#28796]: https://github.com/rust-lang/rust/issues/28796
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/fused.md
Normal file
7
src/doc/unstable-book/src/fused.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `fused`
|
||||
|
||||
The tracking issue for this feature is: [#35602]
|
||||
|
||||
[#35602]: https://github.com/rust-lang/rust/issues/35602
|
||||
|
||||
------------------------
|
5
src/doc/unstable-book/src/future-atomic-orderings.md
Normal file
5
src/doc/unstable-book/src/future-atomic-orderings.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# `future_atomic_orderings`
|
||||
|
||||
This feature is internal to the Rust compiler and is not intended for general use.
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/get-type-id.md
Normal file
7
src/doc/unstable-book/src/get-type-id.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `get_type_id`
|
||||
|
||||
The tracking issue for this feature is: [#27745]
|
||||
|
||||
[#27745]: https://github.com/rust-lang/rust/issues/27745
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/heap-api.md
Normal file
7
src/doc/unstable-book/src/heap-api.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `heap_api`
|
||||
|
||||
The tracking issue for this feature is: [#27700]
|
||||
|
||||
[#27700]: https://github.com/rust-lang/rust/issues/27700
|
||||
|
||||
------------------------
|
7
src/doc/unstable-book/src/i128.md
Normal file
7
src/doc/unstable-book/src/i128.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# `i128`
|
||||
|
||||
The tracking issue for this feature is: [#35118]
|
||||
|
||||
[#35118]: https://github.com/rust-lang/rust/issues/35118
|
||||
|
||||
------------------------
|
|
@ -6,5 +6,15 @@ The tracking issue for this feature is: [#28237]
|
|||
|
||||
------------------------
|
||||
|
||||
To get a range that goes from 0 to 10 and includes the value 10, you
|
||||
can write `0...10`:
|
||||
|
||||
```rust
|
||||
#![feature(inclusive_range_syntax)]
|
||||
|
||||
fn main() {
|
||||
for i in 0...10 {
|
||||
println!("{}", i);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue