lib.rs (646B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ 4 5 // Disable this entire crate on Windows when Gecko symbols are not available 6 // as linking would fail: 7 // https://github.com/rust-lang/rust/pull/44603#issuecomment-338807312 8 // 9 // On Linux and OS X linking succeeds anyway. 10 // Presumably these symbol declarations don’t need to be resolved 11 // as they’re not used in any code called from this crate. 12 #![cfg(not(windows))] 13 14 extern crate euclid; 15 extern crate style; 16 17 mod piecewise_linear;