Remove bitrig support from rust

This commit is contained in:
Marcel Hellwig 2019-05-13 09:13:07 +02:00
parent fe5f42cdb8
commit cc314b066a
47 changed files with 21 additions and 363 deletions

View file

@ -1,6 +1,5 @@
// This test is for *-windows-msvc only.
// ignore-android
// ignore-bitrig
// ignore-cloudabi
// ignore-dragonfly
// ignore-emscripten

View file

@ -1,6 +1,5 @@
// This test is for *-windows-msvc only.
// ignore-android
// ignore-bitrig
// ignore-cloudabi
// ignore-dragonfly
// ignore-emscripten

View file

@ -6,10 +6,6 @@
# is compiled with LTO, it shouldn't strip the symbol from `foo`, and that's the
# only way that `foo.c` will successfully compile.
ifeq ($(UNAME),Bitrig)
EXTRACFLAGS := -lc $(EXTRACFLAGS) $(EXTRACXXFLAGS)
endif
all:
$(RUSTC) foo.rs --crate-type=rlib
$(RUSTC) bar.rs --crate-type=staticlib -C lto -L. -o $(TMPDIR)/libbar.a

View file

@ -88,10 +88,6 @@ else
ifeq ($(UNAME),FreeBSD)
EXTRACFLAGS := -lm -lpthread -lgcc_s
else
ifeq ($(UNAME),Bitrig)
EXTRACFLAGS := -lm -lpthread
EXTRACXXFLAGS := -lc++ -lc++abi
else
ifeq ($(UNAME),SunOS)
EXTRACFLAGS := -lm -lpthread -lposix4 -lsocket -lresolv
else
@ -106,7 +102,6 @@ endif
endif
endif
endif
endif
REMOVE_DYLIBS = rm $(TMPDIR)/$(call DYLIB_GLOB,$(1))
REMOVE_RLIBS = rm $(TMPDIR)/$(call RLIB_GLOB,$(1))

View file

@ -2,7 +2,6 @@
# ignore-freebsd
# ignore-openbsd
# ignore-bitrig
# ignore-sunos
HOST := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')

View file

@ -32,7 +32,6 @@ macro_rules! dump_and_die {
all(target_os = "linux", target_arch = "arm"),
target_os = "freebsd",
target_os = "dragonfly",
target_os = "bitrig",
target_os = "openbsd")) {
// skip these platforms as this support isn't implemented yet.
} else {

View file

@ -18,9 +18,6 @@ mod hello;
#[cfg(target_os = "dragonfly")]
mod hello;
#[cfg(target_os = "bitrig")]
mod hello;
#[cfg(target_os = "android")]
mod hello;

View file

@ -6,7 +6,6 @@
// Tests parallel codegen - this can fail if the symbol for the anonymous
// closure in `sum` pollutes the second codegen unit from the first.
// ignore-bitrig
// compile-flags: -C codegen_units=2
#![feature(iter_arith)]

View file

@ -40,18 +40,6 @@ mod m {
}
}
#[cfg(target_os = "bitrig")]
mod m {
#[main]
#[cfg(target_arch = "x86_64")]
pub fn main() {
unsafe {
assert_eq!(::rusti::pref_align_of::<u64>(), 8);
assert_eq!(::rusti::min_align_of::<u64>(), 8);
}
}
}
#[cfg(target_os = "windows")]
mod m {
#[main]

View file

@ -1,5 +1,4 @@
// run-pass
// ignore-bitrig
// compile-flags: -C codegen-units=3
// aux-build:sepcomp_cci_lib.rs

View file

@ -1,5 +1,4 @@
// run-pass
// ignore-bitrig
// compile-flags: -C codegen-units=3
// aux-build:sepcomp-extern-lib.rs

View file

@ -1,6 +1,5 @@
// run-pass
#![allow(dead_code)]
// ignore-bitrig
// compile-flags: -C codegen-units=3
// Test references to items that haven't been codegened yet.

View file

@ -1,5 +1,4 @@
// run-pass
// ignore-bitrig
// compile-flags: -C codegen-units=3
// Test basic separate compilation functionality. The functions should be able

View file

@ -1,6 +1,5 @@
// run-pass
#![allow(dead_code)]
// ignore-bitrig
// compile-flags: -C codegen-units=3
// Test references to static items across compilation units.

View file

@ -1,6 +1,5 @@
// run-pass
#![allow(dead_code)]
// ignore-bitrig
// compile-flags: -C codegen-units=3
// ignore-emscripten no threads support

View file

@ -55,15 +55,6 @@ mod m {
}
}
#[cfg(target_os = "bitrig")]
mod m {
#[cfg(target_arch = "x86_64")]
pub mod m {
pub fn align() -> usize { 8 }
pub fn size() -> usize { 16 }
}
}
#[cfg(target_os = "windows")]
mod m {
#[cfg(target_arch = "x86")]

View file

@ -1,5 +1,4 @@
// ignore-android needs extra network permissions
// ignore-bitrig system ulimit (Too many open files)
// ignore-cloudabi no global network namespace access
// ignore-emscripten no threads or sockets support
// ignore-netbsd system ulimit (Too many open files)

View file

@ -23,7 +23,6 @@ pub fn main() {
}
#[cfg(any(target_os = "android",
target_os = "bitrig",
target_os = "cloudabi",
target_os = "dragonfly",
target_os = "emscripten",