Commit Graph

8 Commits

Author SHA1 Message Date
bjorn3
7285c134d1 Reorganize scripts 2020-09-16 16:46:02 +02:00
bjorn3
66343bf4fc Default cargo.sh to release build of cg_clif 2020-07-24 14:21:31 +02:00
bjorn3
942039b232 Pass ByRef values at fixed stack offset for extern "C"
This makes it possible to build proc macros using cg_clif
2020-07-17 12:41:01 +02:00
bjorn3
d983813e0f Move RUSTDOCFLAGS to config.sh 2020-07-13 11:45:16 +02:00
bjorn3
6f9a4fda3a Set RUSTDOCFLAGS
Fixes #969
2020-05-05 12:03:27 +02:00
bjorn3
99407a4057 Display warning when overriding default rustc version in cargo.sh 2020-01-15 19:56:18 +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
8691b8b8b6 Test rust-lang/regex example shootout-regex-dna 2019-07-30 13:37:54 +02:00