Alex Crichton
a41077e11b
Merge pull request #286 from alexcrichton/fix-dupe
...
Fix duplicate symbol __clzsi2
2019-05-02 17:17:52 -05:00
Alex Crichton
0899a164ed
Fix duplicate symbol __clzsi2
...
Looks like our tests weren't quite testing compiler-builtins when it was
compiled with unmangled symbols, so update the tests to catch this and
then fix the compilation of the `__clzsi2` intrinsic to use the C
version if it's compiled.
2019-05-02 13:35:50 -07:00
Alex Crichton
98f4618c9a
Revert "Use the Rust implementation of udivsi3 on ARM"
...
This reverts commit 681aaa914dea7cae8252c33023604ce6c91808bd.
2019-05-02 12:49:19 -07:00
Alex Crichton
b73fa4b764
Try to fix Windows
2019-04-02 12:12:29 -07:00
Alex Crichton
742b0330c5
Try to handle thumb targets and xargo
2019-04-02 11:54:20 -07:00
Alex Crichton
a2b87a1a7f
Generate a lock file before using Docker
...
Can't do it in the readonly filesystem inside!
2019-04-02 09:53:05 -07:00
Alex Crichton
7567d9ceb4
Don't pass -it
to docker
2019-04-02 09:35:47 -07:00
Alex Crichton
95f4f0cd4e
Upgrade all docker containers to 18.04
2019-04-02 08:39:19 -07:00
Alex Crichton
cede5bc161
Expand Azure Pipelines configuration
2019-04-02 08:37:06 -07:00
Alex Crichton
b51f3d18a3
Configure Azure Pipelines
2019-04-02 08:24:11 -07:00
Alex Crichton
d3d3cc2126
Add sample azure pipelines configuration
2019-04-02 07:57:02 -07:00
Alex Crichton
1af471e00b
Use nm
on OSX
...
Looks like it may be fixed now?
2018-11-21 10:48:58 -08:00
Paolo Teti
d7799358e4
Remove no_std features
...
Everything default unconditionally to #![no_std].
2018-02-25 09:19:34 +01:00
Paolo Teti
81356ccde4
Keep mangled-names as a default feature
2018-02-25 01:11:49 +01:00
Paolo Teti
64ea229988
Fix CI for thumb* targets
...
Main fix is inside 'utest' all the rest are minor fixes due to the
new 'testcrate'.
Still allow failures on TravisCI for a while.
2018-02-18 18:15:57 +01:00
Alex Crichton
41290fe728
Simplify how testing is done
...
All tests are moved to a separate crate in this repository to enable features by
default. Additionally the test generation is moved to a seprate build script and
simplified to reduce the amount of boilerplate needed per test.
Overall this should still be testing everything, just in a different location!
2018-01-31 11:32:20 -08:00
Alex Crichton
dbaa47027e
Work around japaric/xargo#186 temporarily
2017-12-26 12:20:17 -08:00
Alex Crichton
4481a6c4ab
Disable incremental + LTO
...
This causes errors in more recent versions of rustc
2017-12-26 10:14:11 -08:00
Alex Crichton
a46f33ce48
Work around OSX on Travis
2017-11-02 11:14:05 -07:00
Jorge Aparicio
0601024adf
drop binfmt_misc dependency
...
Instead use the Cargo runner feature. The binfmt_misc approach requires running a privileged
container for setup. Not all docker setups support privileged containers so the test suite should be
more accessible with this change as no privileged container is needed.
2017-10-07 22:19:37 +02:00
Alex Crichton
2fa53c4b67
Don't mangle probes all the time
2017-07-07 20:35:14 -07:00
Jorge Aparicio
326c0bb597
enable tests now that #150 has been fixed
2017-06-27 22:48:57 -05:00
Alex Crichton
6792390e3e
Enable the intrinsics
program on thumb
2017-06-25 10:09:50 -07:00
Alex Crichton
f9db3c5b32
Don't test mangled names on thumb
...
We are both the "real compiler-rt" and the "to be tested one".
2017-06-24 12:54:35 -07:00
Alex Crichton
e7008c8609
Don't check for references to panics with debug assertions
2017-06-24 11:44:50 -07:00
Alex Crichton
90dab55cb0
Don't try to work with cargo test
2017-06-24 10:22:49 -07:00
Alex Crichton
cf1419e538
Add a FIXME for Windows
2017-06-24 10:12:17 -07:00
Alex Crichton
cec593c2aa
Tweak testing and such:
...
* Don't run `intrinsics` tests on thumb
* Disable `compiler_builtins` attribute on `feature = "gen-tests"`
* Disable mangling on `feature = "gen-tests"` instead of `cfg(test)`
2017-06-24 10:10:04 -07:00
Alex Crichton
1614443a68
Try to fix run.sh on AppVeyor
2017-06-23 21:36:36 -07:00
Alex Crichton
80112d198d
Use the same CI script on AppVeyor
2017-06-23 21:23:52 -07:00
Alex Crichton
6db18f6536
Handle aeabi aliasing
...
Objects in compiler-rt may have two symbols, so this makes sure that we don't
bring in those objects by accident by defining the aliases ourselves.
2017-06-23 15:55:11 -07:00
Alex Crichton
4dbe3aaf2d
Use nm
to weed out panics
2017-06-23 11:52:22 -07:00
Alex Crichton
e8d550ee51
Less verbose output on symbol check
2017-06-23 10:44:29 -07:00
Alex Crichton
e798d1bf81
Enable mem
for intrinsics on linux
2017-06-23 09:59:49 -07:00
Alex Crichton
b6a4de6be5
Fix features needed for the intrinsics example
2017-06-23 08:35:24 -07:00
Alex Crichton
43bb211be8
Fix travis intrinsics builds
2017-06-23 08:19:11 -07:00
Alex Crichton
48c4569e91
Build the intrinsics example separately
2017-06-23 07:01:18 -07:00
Alex Crichton
0f2515b715
Test with the 'c' feature enabled on CI
2017-06-22 14:32:16 -07:00
Jorge Aparicio
8dad658a6b
move intrinsics test from src/bin to examples
...
with this change the libc crate is not required when calling `cargo build -p
compiler-builtins`
2017-04-11 17:09:05 -05:00
Jorge Aparicio
9c0fe5be3d
put test generation behind a Cargo feature
...
to reduce build time for the most common case of not running tests
2017-04-10 17:27:25 -05:00
Jorge Aparicio
d8576a4f8b
modify the CI setup to run tests on the thumb targets
2017-04-10 17:16:13 -05:00
Jorge Aparicio
3ed64e2b50
CI: use a recent nightly
...
- add #[no_mangle] to the panic_fmt lang item to adjust to changes in
the visibility algorithm
- adjust to changes in the layout of Cargo's target directory
- use a newer Xargo to reduce the build time of the sysroot (only core
is compiled as part of the sysroot now)
2016-12-31 10:04:40 -05:00
bors
9d3cfedce6
Auto merge of #124 - japaric:rustbuild, r=alexcrichton
...
by default, mark this crate as the #![compiler_builtins] crate
as this is how most users will want to use this crate
r? @alexcrichton
2016-12-13 00:02:56 +00:00
Jorge Aparicio
6da988a43a
by default, mark this crate as the #![compiler_builtins] crate
...
as this is how most users will want to use this crate
2016-12-11 16:18:43 -05:00
Jorge Aparicio
0abb6e20e6
fix the test suite for the thumb targets
2016-12-11 11:18:48 -05:00
Jorge Aparicio
42b4300d36
CI: use Xargo 0.2.x
...
this version uses the rust-src component that rustup installs instead
of fetching the source tarball from static.r-l.o, which sometimes went
wrong due to the fallible logic that Xargo 0.1.x used
2016-11-23 12:47:42 -05:00
Jorge Aparicio
a5d8d0d9f5
merge apt-get commands
2016-11-12 17:36:59 -05:00
Matt Ickstadt
2c99644aa7
Fix apt 404s in Docker
...
`apt update` and `apt install` should be in the same Docker RUN statement, otherwise `apt update` will be cached and `apt install` will 404 if a package no longer exists.
2016-11-12 16:08:13 -06:00
Jorge Aparicio
533c78afaf
test the mips64 targets
2016-10-14 20:26:59 -05:00
Jorge Aparicio
ab4d5e62fb
fix the powerpc64le target
...
by selecting a CPU that's compatible with the instructions that `rustc`
generates
2016-10-14 09:59:21 -05:00