Commit Graph

281 Commits

Author SHA1 Message Date
Alex Crichton
24d49071e5 Define VISIBILITY_HIDDEN when compiling objects
Apparently compiler-rt passed this and we just forgot to. Fixes visibility of
some symbols on 32-bit Linux.
2016-11-18 09:40:20 -08:00
Alex Crichton
40637abb5a Merge pull request #118 from japaric/compiler-rt-up
update the compiler-rt submodule
2016-11-17 09:46:16 -06:00
Jorge Aparicio
837a5ac487 update the compiler-rt submodule
to pick up the fixes for rust-lang/rust#37559 and rust-lang/rust#37630
2016-11-16 14:34:26 -05:00
Jorge Aparicio
ab0693df6f Merge pull request #117 from mattico/fix-docker-apt-404
Fix apt 404s in Docker
2016-11-13 10:43:06 -05:00
Jorge Aparicio
899231612e Merge pull request #111 from mattico/new_float_quickcheck
Add float quickcheck
2016-11-12 21:17:18 -05:00
Jorge Aparicio
e2fc5a0771 merge apt-get commands 2016-11-12 17:36:59 -05:00
Matt Ickstadt
2a8cca03d8 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
Matt Ickstadt
f68475e080 Use better cfg name for arm-linux tests 2016-11-12 15:52:59 -06:00
Matt Ickstadt
77ca63c511 Use correct lib name in qc test failure 2016-11-12 15:30:57 -06:00
Matt Ickstadt
655f642d3f Add float quickcheck 2016-11-12 14:55:28 -06:00
bors
33dc132dd5 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
77ff499a0c 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
39b7fa2267 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
600ed3b36e 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
bors
c8589a315b Auto merge of #109 - CryZe:clippy, r=japaric
Fix a few clippy warnings
2016-10-16 10:21:06 -07:00
Christopher Serr
4733417140 Fix a few clippy warnings 2016-10-16 13:53:31 +02:00
Phaiax
56dc20a724 Update gcc-rs dependency to 0.3.36 2016-10-16 07:54:59 +02:00
bors
6f7861b577 Auto merge of #107 - Phaiax:readme-url, r=japaric
Fix url in readme
2016-10-15 10:25:53 -07:00
Phaiax
cbd35de94c Fix url in readme 2016-10-15 19:21:23 +02:00
bors
1d18f38fbe Auto merge of #104 - alexcrichton:more-readme-updates, r=japaric
More readme updates
2016-10-14 19:26:46 -07:00
Jorge Aparicio
86e3b955cd test the mips64 targets 2016-10-14 20:26:59 -05:00
Jorge Aparicio
20c107784b update the title as well 2016-10-14 19:59:00 -05:00
bors
0b53393c08 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
09d61e8f97 More small updates to the README 2016-10-14 15:50:50 -07:00
Alex Crichton
9b6f5ff4cd 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
bors
8c3e0ae3e8 Auto merge of #102 - alexcrichton:update, r=alexcrichton
Update webhook url
2016-10-14 11:52:29 -07:00
Alex Crichton
ae178cee6e Update webhook url 2016-10-14 11:44:45 -07:00
Jorge Aparicio
ef08913bc8 Merge pull request #99 from japaric/ppc64le
fix the powerpc64le target
2016-10-14 13:11:18 -05:00
Jorge Aparicio
5d164a4eda 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
f6b5c56113 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
Jorge Aparicio
1221ff3b04 Merge pull request #98 from brson/lic
Correct the license to that of upstream compiler-rt
2016-10-13 12:22:06 -05:00
Brian Anderson
c064549c4b 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
e441058be7 ci/run.sh: remove debug stuff 2016-10-10 20:53:21 -05:00
Jorge Aparicio
a163ca7ac3 fix more warnings 2016-10-10 20:21:11 -05:00
Jorge Aparicio
e05caa1227 fix warnings 2016-10-10 19:45:34 -05:00
Jorge Aparicio
8f0847eb94 rename to compiler_builtins, add rust-lang/rust-ish crate attributes 2016-10-10 19:05:21 -05:00
Jorge Aparicio
24c0247c6a add the compiler_builtins feature to src/lib.rs 2016-10-10 16:45:24 -05:00
Jorge Aparicio
d2a3c45a29 set crate_name and crate_type in src/lib.rs 2016-10-10 16:43:38 -05:00
Jorge Aparicio
4bf128a84c add a rustbuild cargo feature for integration with rust-lang/rust 2016-10-10 16:18:18 -05:00
Jorge Aparicio
c56faf22ab Merge pull request #80 from japaric/abort
panic! -> abort
2016-10-07 18:55:51 -05:00
Jorge Aparicio
96ddd4ed8d 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
c82403551d fix unsafe warnings 2016-10-07 18:19:40 -05:00
Jorge Aparicio
fd69beba29 get profile.dev (-debug-assertions) + LTO working 2016-10-07 18:19:40 -05:00
Jorge Aparicio
a21fb956f9 insert more abort() calls where division by zero may occur 2016-10-07 18:19:40 -05:00
Jorge Aparicio
a2ffc799d0 check that we don't have any call to panic in our implementations 2016-10-07 18:19:40 -05:00
Jorge Aparicio
534d22e287 panic! -> abort
closes #79
2016-10-07 18:19:40 -05:00
Jorge Aparicio
24c2a15f3d fix path to .rlib on OSX 2016-10-07 15:03:22 -05:00
Jorge Aparicio
3e6ebb3b76 run the full test suite on osx 2016-10-07 12:03:59 -05:00
Jorge Aparicio
1c9094814d pass -nostartfiles to the linker 2016-10-07 07:13:55 -05:00
Jorge Aparicio
213d929f86 drop the target files 2016-10-06 23:20:09 -05:00