Skip to content

Commit 4ce8275

Browse files
authored
Added arbitrary flag support to try_expand() (#640)
* Added arbitrary flag support to try_expand() * Fixed doc for ar_flag, try_expand now uses compiler flags * Remove unnecessary flag arguments addition
1 parent 668fdff commit 4ce8275

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ impl Build {
408408
self
409409
}
410410

411-
/// Add an arbitrary flag to the invocation of the compiler
411+
/// Add a flag to the invocation of the ar
412412
///
413413
/// # Example
414414
///
@@ -419,7 +419,6 @@ impl Build {
419419
/// .ar_flag("/NODEFAULTLIB:libc.dll")
420420
/// .compile("foo");
421421
/// ```
422-
423422
pub fn ar_flag(&mut self, flag: &str) -> &mut Build {
424423
self.ar_flags.push(flag.to_string());
425424
self

0 commit comments

Comments
 (0)