Skip to content

Commit

Permalink
Enable float128 test case
Browse files Browse the repository at this point in the history
This could have been enabled in rust-lang#1830, but it was missed.
  • Loading branch information
kulp committed Feb 2, 2022
1 parent 36af335 commit 8a6d075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions tests/expectations/tests/float128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
non_camel_case_types,
non_upper_case_globals
)]

pub const global: u128 = 1.0;
6 changes: 1 addition & 5 deletions tests/headers/float128.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// FIXME: libclang < 3.9 does not expose `__float128` in its interface, so this
// test will fail. Once we remove support for `--features llvm_stable` and
// require libclang >= 3.9, we can reenable this test.
//
// static __float128 global = 1.0;
static __float128 global = 1.0;

// FIXME: We have no way to get 128 bit aligned structs in Rust at the moment,
// and therefore the generated layout tests for this struct will fail. When we
Expand Down

0 comments on commit 8a6d075

Please sign in to comment.