Alex Crichton
13e04b1ec0
Merge pull request #430 from laanwj/2019_08_rv_nopic
risc-v: Disable PIC by default for now
5 years ago
Alex Crichton
c7cd5ddf6c
Merge pull request #429 from laanwj/2019_08_rv_correct_abi
risc-v: Set ABI correctly for 32-bit targets
5 years ago
Wladimir J. van der Laan
b15493847e
risc-v: Set ABI correctly for 32-bit targets
Pick the correct softfloat mode based on bitness:
- `-mabi=lp64` for 64 bit RISC-V
- `-mabi=ilp32` for 32-bit RISC-V
Currently it fails for rv32 due to a conflict between the ABI and arch:
cc1: error: ABI requires -march=rv64
5 years ago
Wladimir J. van der Laan
97b648e1d2
risc-v: Disable PIC by default for now
Rust's linker cannot currently handle gcc's fPIC compilation units
for RISC-V targets:
= note: rust-lld: error:
.got section detected in the input files. Dynamic relocations are not
supported. If you are linking to C code compiled using the `gcc` crate
then modify your build script to compile the C code _without_ the
-fPIC flag. See the documentation of the `gcc::Config.fpic` method for
details.
So disable PIC by default for now for `riscv` targets.
5 years ago
Alex Crichton
f6f6c819b9
Merge pull request #428 from laanwj/2019_08_riscv
Add RISC-V support
5 years ago
Wladimir J. van der Laan
4981b3cdf0
Add RISC-V support
Automatically choose the most common name for the toolchain, and add the
command-line arguments to generate code that is compatible with the
chosen architecture.
Fixes #397 .
5 years ago
Alex Crichton
85bc5b9fce
Bump to 1.0.38
6 years ago
Alex Crichton
fb1ae59798
Merge pull request #421 from spl/serialize-env-tests
Fix occasional test failure due to env::set_var with multiple test threads
6 years ago
Sean Leather
5acdb66980
Remove `--test-threads 1` on Azure
6 years ago
Sean Leather
8156af3a28
Don't hard link the gcc-shim executable on macOS
Fixes #419
6 years ago
Sean Leather
d09804846d
Move env var tests into separate modules
Tests that modify environment variables (e.g. CFLAGS and CXXFLAGS) can
cause tests to fail when run in parallel because they change a shared
context.
This change moves the problematic tests into separate modules. Since
each `tests/*.rs` is compiled as a separate crate, these tests are not
run in parallel with other tests.
6 years ago
Alex Crichton
17ef91a6e1
Merge pull request #420 from spl/gcc-shim-expect
Improve error reporting in gcc-shim
6 years ago
Sean Leather
0aee3eb85e
Improve error reporting
6 years ago
Alex Crichton
d2ba46f65c
Merge pull request #417 from BaoshanPang/vxworks
Support VxWorks
6 years ago
Baoshan Pang
7053adf311
use vx-cxx
6 years ago
Baoshan Pang
8a17c47260
Add support for vxWorks using vx-cc
6 years ago
Alex Crichton
5c5ee1db5b
Merge pull request #414 from kryptan/patch-1
Correct documentation for `Build::debug`
6 years ago
kryptan
969eacc3e0
Correct documentation for `Build::debug`
6 years ago
Alex Crichton
80deedc9a7
Merge pull request #398 from chouquette/add_uwp
Add support for uwp targets
6 years ago
Alex Crichton
8fd60c4926
Hopefully last fix for CI...
6 years ago
Alex Crichton
e5cac610d9
Don't self-update existing rustup
6 years ago
Alex Crichton
5c7e0b4b71
Fix some bash syntax
6 years ago
Alex Crichton
0388f990f9
Pray bash works
6 years ago
Alex Crichton
78d14ac386
Ok pwsh.exe isn't on the 2015 image
6 years ago
Alex Crichton
fc8c87e266
Try running a different powershell
6 years ago
Alex Crichton
72387295ee
Fix scripts for MSVC
6 years ago
Alex Crichton
a1085b19b3
Fix scripts for MSVC
6 years ago
Alex Crichton
06528a964d
Still install rustup on older Windows images...
6 years ago
Alex Crichton
28a0c263e5
Don't self-update on Windows
6 years ago
Alex Crichton
11e4edb58a
Attempt to fix CI
6 years ago
Alex Crichton
6fd68bb66e
Merge pull request #412 from crlf0710/master
Add find msbuild vs16 logic.
6 years ago
CrLF0710
39bf6e84e6
Add find msbuild vs16 logic.
6 years ago
Alex Crichton
4c4ea0eace
Merge pull request #410 from ogoffart/master
Implement Display for Error
6 years ago
Alex Crichton
469c2b65a7
Merge pull request #411 from spl/tempdir-in
Create temp dir in same dir as gcc-shim
6 years ago
Alex Crichton
e70b78d090
Merge pull request #409 from spl/ci-trigger
Add ci-* branch pattern to trigger Azure Pipelines
6 years ago
Sean Leather
e4519579e7
Create temp dir in same dir as gcc-shim
In case the temporary director is not deleted, this makes it easy to
find. It also means that it will get removed when `cargo clean` removes
the target directory.
6 years ago
Olivier Goffart
f676c2ca40
Implement Display for Error
6 years ago
Sean Leather
232586307f
Add ci-* branch pattern to trigger Azure Pipelines
6 years ago
Alex Crichton
b43413fab8
Merge pull request #406 from spl/test-path-fn
Localize path split and join to one function
6 years ago
Alex Crichton
f3e4fc15d5
Merge pull request #404 from spl/ubuntu-toolchain
Remove ppa:ubuntu-toolchain-r/test from Azure Pipelines
6 years ago
Sean Leather
dde1fe97bf
Localize path split and join to one function
6 years ago
Sean Leather
830d8b1a4c
CI: Remove ppa:ubuntu-toolchain-r/test
See https://github.com/scikit-learn/scikit-learn/issues/13928 for a
similar experience.
6 years ago
Hugo Beauzée-Luyssen
5519c17515
Add support for uwp targets
6 years ago
Alex Crichton
cbf6d2f131
Bump to 1.0.37
6 years ago
Alex Crichton
668fde33de
Merge pull request #402 from sunfishcode/master
Recognize the "wasm32-wasi" target tuple.
6 years ago
Dan Gohman
dfbbc05573
Recognize the "wasm32-wasi" target tuple.
6 years ago
Alex Crichton
ab757d28f9
Bump to 1.0.36
6 years ago
Alex Crichton
5ed2aebf78
Merge pull request #401 from ebarnard/windows-min-ci
Run the `Minimum Rust` CI job on Windows and fix it on Linux
6 years ago
Edward Barnard
9dcf641d21
Fix build with Rust 1.16.0.
6 years ago
Edward Barnard
552b139790
Run the `Minimum Rust` CI job on Windows and fix Linux.
6 years ago