diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-02 15:55:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-02 15:55:52 -0700 |
| commit | 65342fd341f63bb2b594a47436c7591f2ebc0208 (patch) | |
| tree | 4d2dc15d466ea51888fa4c43c6b1b096e7379486 /src/ci/docker | |
| parent | dc6a19c2f0a527826e6704e0ee7bfe7f2d7d7864 (diff) | |
| parent | 838c497a4578bb4c939e9834240198e22815ad1b (diff) | |
| download | rust-65342fd341f63bb2b594a47436c7591f2ebc0208.tar.gz rust-65342fd341f63bb2b594a47436c7591f2ebc0208.zip | |
Rollup merge of #73724 - CryZe:wasm-saturating-casts, r=alexcrichton
Use WASM's saturating casts if they are available WebAssembly supports saturating floating point to integer casts behind a target feature. The feature is already available on many browsers. Beginning with 1.45 Rust will start defining the behavior of floating point to integer casts to be saturating as well. For this Rust constructs additional checks on top of the `fptoui` / `fptosi` instructions it emits. Here we introduce the possibility for the codegen backend to construct saturating casts itself and only fall back to constructing the checks ourselves if that is not possible. Resolves part of #73591
Diffstat (limited to 'src/ci/docker')
| -rw-r--r-- | src/ci/docker/test-various/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ci/docker/test-various/Dockerfile b/src/ci/docker/test-various/Dockerfile index 9276e4ed82d..6775baa8c32 100644 --- a/src/ci/docker/test-various/Dockerfile +++ b/src/ci/docker/test-various/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ wget \ patch -RUN curl -sL https://nodejs.org/dist/v9.2.0/node-v9.2.0-linux-x64.tar.xz | \ +RUN curl -sL https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz | \ tar -xJ WORKDIR /build/ @@ -30,7 +30,7 @@ RUN sh /scripts/sccache.sh ENV RUST_CONFIGURE_ARGS \ --musl-root-x86_64=/usr/local/x86_64-linux-musl \ - --set build.nodejs=/node-v9.2.0-linux-x64/bin/node \ + --set build.nodejs=/node-v14.4.0-linux-x64/bin/node \ --set rust.lld # Some run-make tests have assertions about code size, and enabling debug |
