Skip to content

Commit 8d0695d

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents e498713 + 3ea767f commit 8d0695d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
//! This crate will automatically detect situations such as cross compilation or
1616
//! other environment variables set by Cargo and will build code appropriately.
1717
//!
18+
//! The crate is not limited to C code, it can accept any source code that can
19+
//! be passed to a C or C++ compiler. As such, assembly files with extensions
20+
//! `.s` (gcc/clang) and `.asm` (MSVC) can also be compiled.
21+
//!
1822
//! [`Config`]: struct.Config.html
1923
//!
2024
//! # Examples

tests/test.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ fn gnu_shared() {
185185

186186
#[test]
187187
fn gnu_flag_if_supported() {
188+
if cfg!(windows) {
189+
return
190+
}
188191
let test = Test::gnu();
189192
test.gcc()
190193
.file("foo.c")

0 commit comments

Comments
 (0)