diff --git a/mk/rt.mk b/mk/rt.mk index 6ca14456441..bd6578d3b72 100644 --- a/mk/rt.mk +++ b/mk/rt.mk @@ -113,7 +113,7 @@ $$(RT_OUTPUT_DIR_$(1))/$$(NATIVE_$(2)_$(1)): $$(OBJS_$(2)_$(1)) ifeq ($$(findstring windows,$(1)),windows) $$(RT_OUTPUT_DIR_$(1))/lib$(2).a: $$(RT_OUTPUT_DIR_$(1))/$$(NATIVE_$(2)_$(1)) - $$(Q)cp $$< $$^ + $$(Q)cp $$^ $$@ endif endef @@ -227,7 +227,7 @@ COMPRT_DEPS := $(wildcard \ $(S)src/compiler-rt/*/*/*/*) endif -COMPRT_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),compiler-rt) +COMPRT_NAME_$(1) := libcompiler-rt.a COMPRT_LIB_$(1) := $$(RT_OUTPUT_DIR_$(1))/$$(COMPRT_NAME_$(1)) COMPRT_BUILD_DIR_$(1) := $$(RT_OUTPUT_DIR_$(1))/compiler-rt diff --git a/src/test/bench/noise.rs b/src/test/bench/noise.rs index efbb5dfb549..81a6fb8ff6d 100644 --- a/src/test/bench/noise.rs +++ b/src/test/bench/noise.rs @@ -101,8 +101,8 @@ fn get(&self, x: f32, y: f32) -> f32 { fn main() { let symbols = [' ', '░', '▒', '▓', '█', '█']; - let mut pixels = [0f32; 256*256]; - let n2d = Noise2DContext::new(); + let mut pixels = Box::new([0f32; 256*256]); + let n2d = Box::new(Noise2DContext::new()); for _ in 0..100 { for y in 0..256 { diff --git a/src/test/bench/shootout-reverse-complement.rs b/src/test/bench/shootout-reverse-complement.rs index 7c9f33678a3..55b2b1e2e32 100644 --- a/src/test/bench/shootout-reverse-complement.rs +++ b/src/test/bench/shootout-reverse-complement.rs @@ -50,17 +50,17 @@ use std::thread; struct Tables { - table8: [u8; 1 << 8], - table16: [u16; 1 << 16] + table8: Box<[u8; 1 << 8]>, + table16: Box<[u16; 1 << 16]>, } impl Tables { fn new() -> Tables { - let mut table8 = [0;1 << 8]; + let mut table8 = Box::new([0;1 << 8]); for (i, v) in table8.iter_mut().enumerate() { *v = Tables::computed_cpl8(i as u8); } - let mut table16 = [0;1 << 16]; + let mut table16 = Box::new([0;1 << 16]); for (i, v) in table16.iter_mut().enumerate() { *v = (table8[i & 255] as u16) << 8 | table8[i >> 8] as u16; diff --git a/src/test/run-pass-fulldeps/issue-13560.rs b/src/test/run-pass-fulldeps/issue-13560.rs index 1541e809b61..fc9f241af7f 100644 --- a/src/test/run-pass-fulldeps/issue-13560.rs +++ b/src/test/run-pass-fulldeps/issue-13560.rs @@ -12,6 +12,7 @@ // aux-build:issue-13560-2.rs // aux-build:issue-13560-3.rs // ignore-stage1 +// ignore-musl // Regression test for issue #13560, the test itself is all in the dependent // libraries. The fail which previously failed to compile is the one numbered 3. diff --git a/src/test/run-pass/issue-12133-3.rs b/src/test/run-pass/issue-12133-3.rs index 79a53078545..66201ff901f 100644 --- a/src/test/run-pass/issue-12133-3.rs +++ b/src/test/run-pass/issue-12133-3.rs @@ -11,6 +11,7 @@ // aux-build:issue-12133-rlib.rs // aux-build:issue-12133-dylib.rs // aux-build:issue-12133-dylib2.rs +// ignore-musl // pretty-expanded FIXME #23616 diff --git a/src/test/run-pass/linkage-visibility.rs b/src/test/run-pass/linkage-visibility.rs index 74da4273b6a..98a7ce55540 100644 --- a/src/test/run-pass/linkage-visibility.rs +++ b/src/test/run-pass/linkage-visibility.rs @@ -11,6 +11,7 @@ // aux-build:linkage-visibility.rs // ignore-android: FIXME(#10379) // ignore-windows: std::dynamic_lib does not work on Windows well +// ignore-musl #![feature(std_misc)] diff --git a/src/test/run-pass/out-of-stack-new-thread-no-split.rs b/src/test/run-pass/out-of-stack-new-thread-no-split.rs index 0d0a5bee8a4..2c6e55b57b0 100644 --- a/src/test/run-pass/out-of-stack-new-thread-no-split.rs +++ b/src/test/run-pass/out-of-stack-new-thread-no-split.rs @@ -8,11 +8,12 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//ignore-android -//ignore-freebsd -//ignore-ios -//ignore-dragonfly -//ignore-bitrig +// ignore-android +// ignore-freebsd +// ignore-ios +// ignore-dragonfly +// ignore-bitrig +// ignore-musl #![feature(asm)] diff --git a/src/test/run-pass/sepcomp-extern.rs b/src/test/run-pass/sepcomp-extern.rs index 973c61712c3..f21b787dab7 100644 --- a/src/test/run-pass/sepcomp-extern.rs +++ b/src/test/run-pass/sepcomp-extern.rs @@ -14,8 +14,8 @@ // Test accessing external items from multiple compilation units. +extern crate sepcomp_extern_lib; -#[link(name = "sepcomp_extern_lib")] extern { #[allow(ctypes)] fn foo() -> usize;