Skip to content

Commit

Permalink
tests: Linker errors on xtensa have been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 6, 2023
1 parent 8292b93 commit 30dd36b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/api-test/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,7 @@ macro_rules! __test_atomic_float {
assert_eq!(a.load(Ordering::Relaxed), $float_type::MIN - 1.0);
}
}
// TODO: undefined reference to `f{max,min}{,f}' (fixed in https://github.com/rust-lang/compiler-builtins/pull/517)
#[cfg(not(target_arch = "xtensa"))]
__run_test!(fetch_max);
#[cfg(not(target_arch = "xtensa"))]
fn fetch_max() {
for &order in &test_helper::SWAP_ORDERINGS {
let a = <$atomic_type>::new(23.0);
Expand All @@ -413,10 +410,7 @@ macro_rules! __test_atomic_float {
assert_eq!(a.load(Ordering::Relaxed), 1.0);
}
}
// TODO: undefined reference to `f{max,min}{,f}' (fixed in https://github.com/rust-lang/compiler-builtins/pull/517)
#[cfg(not(target_arch = "xtensa"))]
__run_test!(fetch_min);
#[cfg(not(target_arch = "xtensa"))]
fn fetch_min() {
for &order in &test_helper::SWAP_ORDERINGS {
let a = <$atomic_type>::new(23.0);
Expand Down

0 comments on commit 30dd36b

Please sign in to comment.