Skip to content

Rustup installs 64bit compiler on a 32bit Docker instance #1282

@shaleh

Description

@shaleh

This is what is in my dockerfile:

 RUN curl https://sh.rustup.rs -o rustup.sh && sh rustup.sh --default-toolchain nightly -y && rustup default nightly

Here are some details from the docker instance

root@cc25a7d3570a:~/test32# uname -a
 Linux cc25a7d3570a 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 i686 i686 i686 GNU/Linux
root@cc25a7d3570a:~/test32# rustc --version
rustc 1.23.0-nightly (2be4cc040 2017-11-01)
root@cc25a7d3570a:~/test32# rustup show
Default host: x86_64-unknown-linux-gnu

installed toolchains
--------------------

nightly-i686-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu

active toolchain
----------------

nightly-i686-unknown-linux-gnu (default)
rustc 1.23.0-nightly (2be4cc040 2017-11-01)

I hand installed the i686 compiler by running rustup install nightly-i686-unknown-linux-gnu.

You can find the Dockerfile here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions