Re: [dev-servo] Question about regex crate in util

2015-02-26 Thread Nicholas Nethercote
On Fri, Feb 27, 2015 at 12:21 PM, Gilles Leblanc wrote: > Hello, I have a question. > > The crate components/util uses regular expressions. In it's lib.rs file it > has the following statements: > > #[cfg(target_os="linux")] > extern crate regex; > > Why is the extern crate regex only used under L

[dev-servo] Question about regex crate in util

2015-02-26 Thread Gilles Leblanc
Hello, I have a question. The crate components/util uses regular expressions. In it's lib.rs file it has the following statements: #[cfg(target_os="linux")] extern crate regex; Why is the extern crate regex only used under Linux? What happens when one is not on Linux? Thanks, Gilles ___