Gbp-Pq: Name u-ignoretest-ppc64el.patch
#[test]
fn test_typed_arena_drop_small_count() {
+ if cfg!(target_arch = "powerpc64") {
+ return;
+ }
DROP_COUNTER.with(|c| c.set(0));
{
let arena: TypedArena<SmallDroppable> = TypedArena::new();
#[cfg(all(test, not(target_os = "emscripten")))]
mod tests {
use sync::mpsc::{channel, Sender};
- use cell::{Cell, UnsafeCell};
+ use cell::UnsafeCell;
use thread;
struct Foo(Sender<()>);
}
}
- #[test]
+ #[test] #[cfg(not(target_arch = "powerpc64"))]
fn smoke_no_dtor() {
- thread_local!(static FOO: Cell<i32> = Cell::new(1));
+ thread_local!(static FOO: ::cell::Cell<i32> = ::cell::Cell::new(1));
FOO.with(|f| {
assert_eq!(f.get(), 1);