Commit Graph

3 Commits

Author SHA1 Message Date
bjorn3
6a246dca93 rustc 1.42.0-nightly (31dd4f4ac 2020-01-13) 2020-01-15 20:04:33 +01:00
Andrew Chin
a288a5ea06 Store nightly snapshot in rust-toolchain file, and use it in cargo.sh
The rust-toolchain file can also store an exact nightly snapshot
(instead of just "nightly"), so we can store whatever snapshot that
rustc_codegen_cranelift is known to work with.

This also lets us add a new feature to `cargo.sh` to let it use the
exact same nightly snapshot as cg_clif.  If there's a nightly compiler
mismatch, you get a confusing error message like:

    error: couldn't load codegen backend "librustc_codegen_cranelift.so":
    "librustc_driver-681e2b4f66c73d3e.so: cannot open
    shared object file: No such file or directory"

So doing this automatically in cargo.sh is useful.
2020-01-15 12:05:18 -05:00
bjorn3
4d615dba0e Initial commit 2018-06-17 18:05:11 +02:00