Commit Graph

24 Commits

Author SHA1 Message Date
Alex Crichton
40ef6cb749
Allow FFI-unsafe warnings for u128/i128 (#323)
* Allow FFI-unsafe warnings for u128/i128

Handle new warnings on nightly, and we shouldn't need to worry about
these with compiler-builtins since this is tied to a particular compiler.

* Clean up crate attributes

* No need for stability marker
* Rustdoc docs not used for this crate
* Remove old build-system related cruft from rustc itself.

* Run `cargo fmt`
2019-11-11 12:19:10 -06:00
Ralf Jung
65dacd7150 avoid bare trait objects 2019-07-13 11:07:43 +02:00
Sean Leather
82f898fd48
Fix typo: mingw_unwinding 2019-05-21 08:43:50 +02:00
Alex Crichton
c88c9502b7 Run rustfmt over everything 2019-05-14 14:40:38 -07:00
Alex Crichton
8521530f49 Fix __divsi3 and __udivsi3 on thumbv6m targets
This commit fixes a bug accidentally introduced in #285 where some
lingering references remained to `#[cfg(thumbv6m)]` but this, since the
historical revert, was renamed to `#[cfg(thumb_1)]`. This caused on the
thumbv6m platform for the intrinsics to be accidentally omitted because
the build script didn't actually compile them but the Rust code thought
the C code was in use.

After correcting the `#[cfg]` statements the CI configuration for the
`thumb*` family of targets was all updated. The support for xargo
testing was removed from `run.sh` since it had long since bitrotted, and
the script was updated to simply build the intrinsics example to attempt
to link for each of these targets. This in turn exposed the bug locally
and allowed to confirm a fix once the `#[cfg]` statements were
corrected.

cc rust-lang/rust#60782
2019-05-14 12:26:09 -07:00
Alex Crichton
1275ec6654 More fixes for i686-mingw 2019-04-02 13:02:22 -07:00
Alex Crichton
4c60176278 Attempt to fix MinGW targets 2019-04-02 12:51:36 -07:00
Hugues de Valon
5d683bafc3 Remove thumbv6m configuration of intrinsic example
It seems that the intrinsics that were generated for the functions in
example/intrinsics.rs where different implementations were given for
thumb6m-none-eabi target, have now been implemented in Rust so
configuration is not needed anymore.
2019-03-14 12:58:29 +00:00
Alex Crichton
003f1faf4c Try to fix Windows build issue 2018-11-21 11:56:04 -08:00
Alex Crichton
02bcce860b Remove unknown feature 2018-11-21 11:07:07 -08:00
Paolo Teti
8bfd4374b6 panic_handler is now stable
Fixes the following warning:

"warning: the feature `panic_handler` has been stable since
1.30.0 and no longer requires an attribute to enable"
2018-09-13 10:25:59 +02:00
Paolo Teti
50ea70d7d0 Rename panic_implementation -> panic_handler
panic_implementation has been deprecated/renamed.
New name is panic_handler
2018-09-01 21:17:07 +02:00
Alex Crichton
01a6ffafda Remove unused features 2018-08-17 11:21:28 -07:00
Alex Crichton
182450f20c Try to fix intrinsics example on nightly 2018-07-12 09:29:32 -07:00
Alex Crichton
5b5b2581e4 Try to fix example's compile on nightly 2018-07-12 08:32:39 -07:00
Alex Crichton
5f9bbc924b More attempts for intrinsics example 2018-05-12 07:21:36 -07:00
Alex Crichton
e423f3c64b More CI fixes 2018-05-11 16:52:34 -07:00
Alex Crichton
91eaa85902 Don't mangle probes all the time 2017-07-07 20:35:14 -07:00
Alex Crichton
0ebbcaede4 Enable the intrinsics program on thumb 2017-06-25 10:09:50 -07:00
Alex Crichton
d513c92b01 Try testing MinGW targets 2017-06-23 20:35:25 -07:00
Alex Crichton
215fa06fb6 More windows linkage guesses 2017-06-23 06:53:09 -07:00
Alex Crichton
a4120adc69 Try to fix linkage on windows 2017-06-22 23:41:28 -07:00
Alex Crichton
a1377878c6 Test with the 'c' feature enabled on CI 2017-06-22 14:32:16 -07:00
Jorge Aparicio
19b2efdf36 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