diff --git a/src/lib.rs b/src/lib.rs index 7744134..9af1793 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,6 +15,10 @@ //! This crate will automatically detect situations such as cross compilation or //! other environment variables set by Cargo and will build code appropriately. //! +//! The crate is not limited to C code, it can accept any source code that can +//! be passed to a C or C++ compiler. As such, assembly files with extensions +//! `.s` (gcc/clang) and `.asm` (MSVC) can also be compiled. +//! //! [`Config`]: struct.Config.html //! //! # Examples diff --git a/tests/test.rs b/tests/test.rs index c013099..51f82f0 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -185,6 +185,9 @@ fn gnu_shared() { #[test] fn gnu_flag_if_supported() { + if cfg!(windows) { + return + } let test = Test::gnu(); test.gcc() .file("foo.c")