Add appveyor config
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..fb6ccd1
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,18 @@
+environment:
+ matrix:
+ - TARGET: x86_64-pc-windows-msvc
+ - TARGET: i686-pc-windows-msvc
+ - TARGET: i686-pc-windows-gnu
+install:
+ - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
+ - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
+ - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
+ - SET PATH=%PATH%;C:\MinGW\bin
+ - rustc -V
+ - cargo -V
+
+build: false
+
+test_script:
+ - cargo test
+ - cargo test --manifest-path libc-test/Cargo.toml
diff --git a/src/lib.rs b/src/lib.rs
index f17bc99..86750ba 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,7 +12,6 @@
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
html_root_url = "https://doc.rust-lang.org/nightly/",
html_playground_url = "https://play.rust-lang.org/")]
-#![feature(linked_from)]
//! Bindings for the C standard library and other platform libraries
//!
@@ -5398,8 +5397,6 @@
use types::os::arch::c95::{c_long, c_uint, c_ulong};
use types::os::arch::c95::{size_t};
- #[linked_from = "kernel32"]
- #[link(name = "kernel32")]
extern {
pub fn abs(i: c_int) -> c_int;
pub fn labs(i: c_long) -> c_long;