Add appveyor config

This commit is contained in:
Alex Crichton 2015-09-10 22:01:52 -07:00
parent 7da9b10fc6
commit 3bf33a4113
2 changed files with 18 additions and 3 deletions

18
appveyor.yml Normal file
View File

@ -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

View File

@ -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 @@ pub mod funcs {
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;