Commit Graph

236 Commits

Author SHA1 Message Date
Matt Ickstadt
94c0d475bc Use correct lib name in qc test failure 2016-11-12 15:30:57 -06:00
Matt Ickstadt
9b4553de1c Add float quickcheck 2016-11-12 14:55:28 -06:00
bors
c3b663f866 Auto merge of #113 - japaric:readme-up, r=alexcrichton
mention that 'extern crate compiler_builtins' must be used

in some crate that's part of the dependency graph of the crate one's
building.

r? @alexcrichton
2016-10-19 12:13:29 -07:00
bors
8d1f506e65 Auto merge of #105 - japaric:mips64, r=japaric
test the mips64 targets

These should be all the required changes I think but libloading can't be cross compiled for these new targets:

```
error: failed to run custom build command for `libloading v0.3.1`
process didn't exit successfully: `/target/debug/build/libloading-07147fe7fffab0b2/build-script-build`(exit code: 101)
--- stderr
thread 'main' panicked at 'could not get target info: TargetNotFound', ../src/libcore/result.rs:799
note: Run with `RUST_BACKTRACE=1` for a backtrace.
```

I've openend nagisa/rust_libloading#19 to track that. Wel'll have to wait until that's fixed.

cc @alexcrichton
2016-10-19 09:30:10 -07:00
Jorge Aparicio
1074677eb0 mention that 'extern crate compiler_builtins' must be used
in some crate that's part of the dependency graph of the crate one's
building.
2016-10-19 11:25:16 -05:00
bors
17628ad28a Auto merge of #108 - Phaiax:gccdeptogit, r=japaric
Temporary use gcc-rs from git until new version released
2016-10-16 10:58:28 -07:00
Christopher Serr
53c19053e4 Fix a few clippy warnings 2016-10-16 13:53:31 +02:00
Phaiax
7ecc55fbef Update gcc-rs dependency to 0.3.36 2016-10-16 07:54:59 +02:00
Phaiax
f511f67752 Fix url in readme 2016-10-15 19:21:23 +02:00
bors
7ccece0694 Auto merge of #104 - alexcrichton:more-readme-updates, r=japaric
More readme updates
2016-10-14 19:26:46 -07:00
Jorge Aparicio
533c78afaf test the mips64 targets 2016-10-14 20:26:59 -05:00
Jorge Aparicio
04639c2f54 update the title as well 2016-10-14 19:59:00 -05:00
bors
3c4326f51f Auto merge of #103 - alexcrichton:update-ci, r=japaric
Update CI configs

* Run on the master branch (to get previews)
* Pass --target on AppVeyor (oops)
* Use the current nightly for arm (I think that bug is fixed)
2016-10-14 17:56:26 -07:00
Alex Crichton
b92c6caa06 More small updates to the README 2016-10-14 15:50:50 -07:00
Alex Crichton
7f70040462 Update CI configs
* Run on the master branch (to get previews)
* Pass --target on AppVeyor (oops)
* Use the current nightly for arm (I think that bug is fixed)
2016-10-14 11:58:40 -07:00
Alex Crichton
8ab8bd7889 Update webhook url 2016-10-14 11:44:45 -07: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
Jorge Aparicio
b4f4913e6b README: remove the Contribution sub-section
which still referred to the Apache-2 license and is now deprecated by
the updated License section

cc @brson
2016-10-13 20:51:50 -05:00
Brian Anderson
7928431aea Correct the license to that of upstream compiler-rt
As this is a derivative work we must maintain the same license terms.
2016-10-12 17:50:39 +00:00
Jorge Aparicio
fcb19597cf ci/run.sh: remove debug stuff 2016-10-10 20:53:21 -05:00
Jorge Aparicio
77b5865b04 fix more warnings 2016-10-10 20:21:11 -05:00
Jorge Aparicio
3fe4f1c687 fix warnings 2016-10-10 19:45:34 -05:00
Jorge Aparicio
14c32a0369 rename to compiler_builtins, add rust-lang/rust-ish crate attributes 2016-10-10 19:05:21 -05:00
Jorge Aparicio
622a760d91 add the compiler_builtins feature to src/lib.rs 2016-10-10 16:45:24 -05:00
Jorge Aparicio
5f5c973cbe set crate_name and crate_type in src/lib.rs 2016-10-10 16:43:38 -05:00
Jorge Aparicio
8692e64db9 add a rustbuild cargo feature for integration with rust-lang/rust 2016-10-10 16:18:18 -05:00
Jorge Aparicio
2056d001cf use test::black_box instead of ptr::*_volatile
both prevent LLVM from optimizing away the intrinsics but the former
doesn't produce an `intrinsics` binary that segfaults
2016-10-07 18:26:21 -05:00
Jorge Aparicio
d05514cb20 fix unsafe warnings 2016-10-07 18:19:40 -05:00
Jorge Aparicio
a02ecc8eef get profile.dev (-debug-assertions) + LTO working 2016-10-07 18:19:40 -05:00
Jorge Aparicio
c9e3feb5e3 insert more abort() calls where division by zero may occur 2016-10-07 18:19:40 -05:00
Jorge Aparicio
fbf1cc0b75 check that we don't have any call to panic in our implementations 2016-10-07 18:19:40 -05:00
Jorge Aparicio
9f4632c829 panic! -> abort
closes #79
2016-10-07 18:19:40 -05:00
Jorge Aparicio
b0b7453ea3 fix path to .rlib on OSX 2016-10-07 15:03:22 -05:00
Jorge Aparicio
3911f49990 run the full test suite on osx 2016-10-07 12:03:59 -05:00
Jorge Aparicio
92734e88ff pass -nostartfiles to the linker 2016-10-07 07:13:55 -05:00
Jorge Aparicio
dbd5f05f31 drop the target files 2016-10-06 23:20:09 -05:00
Jorge Aparicio
b2b40931c6 switch back to old nightly for the arm-gnueabi target 2016-10-05 22:13:55 -05:00
Jorge Aparicio
b56315e9a7 switch to a current nightly 2016-10-05 21:34:16 -05:00
Jorge Aparicio
fcc7ca7f80 switch compiler-rt to rust-lang's fork
this fork has been patched against the UB in floatsidf and floasisf
closes #85
2016-10-03 23:26:49 -05:00
homunkulus
ba8c6a4b1d Auto merge of #82 - mattico:add_pow, r=japaric
Add pow functions

I still want to clean up the commit history, but otherwise I think this is complete. ~~Can you run the tests on it?~~
2016-10-04 01:52:27 +00:00
Jorge Aparicio
d0c93bef1b stop compiling compiler-rt implementations
to avoid duplicate symbols
2016-10-03 20:52:14 -05:00
Jorge Aparicio
27adb57c40 fix duplicate symbol test 2016-10-03 20:20:23 -05:00
Jorge Aparicio
4e7d7c7cd8 bump rustc-cfg version and show a better error message when it fails 2016-10-03 19:25:32 -05:00
Matt Ickstadt
e6bc8007dd Implement powi_f2 2016-10-03 11:20:42 -05:00
homunkulus
ea068e2370 Auto merge of #86 - mattico:multitester, r=japaric
Initial implementation of multitester

Implements part of #72.

I wanted to work on this first because it should help me find the problem in the add implementation.

Test failures now look like this:
```
__addsf3 - Args: 1 1264853201
  rustc-builtins: Some(0)
  compiler_rt:    Some(14950609)
  gcc_s:          None
__addsf3 - Args: 1 632426600
  rustc-builtins: Some(0)
  compiler_rt:    Some(0.00000000000000030889195)
  gcc_s:          None
__addsf3 - Args: 1 316213300
  rustc-builtins: Some(0)
  compiler_rt:    Some(0.0000000000000000000000000013696648)
  gcc_s:          None

[snip]

thread 'float::add::tests::_test::__addsf3' panicked at '[quickcheck] TEST FAILED. Arguments: (1, 1)', /home/matt/.cargo/registry/src/github.com-1ecc6299db9ec823/quickcheck-0.3.1/src/tester.rs:118
```

It currently prints all of the errors, if that's undesirable we'd need to remove the shrinkers or modify quickcheck.
2016-10-03 06:58:30 +00:00
Jorge Aparicio
e4997a2026 hide the thumbv* target files
due to how Cargo works, the rustc-cfg in build.rs was picking our target
specifications rather than the one the user meant to use. Placing our
target files in any place other than the root of the Cargo project
avoids the issue.
2016-10-02 19:23:54 -05:00
Matt Ickstadt
ab4e4bfd71 Initial implementation of multitester 2016-10-02 14:38:40 -05:00
Jorge Aparicio
dd34b80ea0 pick target during Xargo installation 2016-09-30 20:41:59 -05:00
Jorge Aparicio
20926bc1fd give Xargo a $HOME 2016-09-30 20:21:15 -05:00
Jorge Aparicio
9b1c06948d fix Xargo installation 2016-09-30 20:20:15 -05:00