File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 15
15
//! This crate will automatically detect situations such as cross compilation or
16
16
//! other environment variables set by Cargo and will build code appropriately.
17
17
//!
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
+ //!
18
22
//! [`Config`]: struct.Config.html
19
23
//!
20
24
//! # Examples
Original file line number Diff line number Diff line change @@ -185,6 +185,9 @@ fn gnu_shared() {
185
185
186
186
#[ test]
187
187
fn gnu_flag_if_supported ( ) {
188
+ if cfg ! ( windows) {
189
+ return
190
+ }
188
191
let test = Test :: gnu ( ) ;
189
192
test. gcc ( )
190
193
. file ( "foo.c" )
You can’t perform that action at this time.
0 commit comments