Add netbsd amd64 support

This commit is contained in:
Alex Newman 2015-06-30 20:37:11 -07:00
parent d2cf9f9632
commit 0b7c4f57f6
43 changed files with 271 additions and 41 deletions

View file

@ -11,6 +11,7 @@
// ignore-windows
// ignore-freebsd
// ignore-openbsd
// ignore-netbsd
// ignore-bitrig
// compile-flags: -Z parse-only

View file

@ -22,6 +22,7 @@ mod rusti {
target_os = "macos",
target_os = "freebsd",
target_os = "dragonfly",
target_os = "netbsd",
target_os = "openbsd"))]
mod m {
#[main]

View file

@ -40,6 +40,7 @@ struct Outer {
target_os = "macos",
target_os = "freebsd",
target_os = "dragonfly",
target_os = "netbsd",
target_os = "openbsd"))]
mod m {
#[cfg(target_arch = "x86")]

View file

@ -9,8 +9,9 @@
// except according to those terms.
// ignore-android needs extra network permissions
// ignore-openbsd system ulimit (Too many open files)
// ignore-bitrig system ulimit (Too many open files)
// ignore-netbsd system ulimit (Too many open files)
// ignore-openbsd system ulimit (Too many open files)
use std::io::prelude::*;
use std::net::{TcpListener, TcpStream};

View file

@ -35,6 +35,7 @@ pub fn main() {
target_os = "freebsd",
target_os = "dragonfly",
target_os = "bitrig",
target_os = "netbsd",
target_os = "openbsd",
target_os = "android"))]
pub fn main() { }