mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
style: Move a bit declaration_block and cascade modules
So that they aren't imported via #[path]. This allows cargo to see them even before building. Differential Revision: https://phabricator.services.mozilla.com/D178105
This commit is contained in:
parent
9c58f0c635
commit
ae993e485a
5 changed files with 90 additions and 64 deletions
|
@ -163,14 +163,7 @@ pub use style_traits::owned_str::OwnedStr;
|
|||
|
||||
use std::hash::{BuildHasher, Hash};
|
||||
|
||||
/// The CSS properties supported by the style system.
|
||||
/// Generated from the properties.mako.rs template by build.rs
|
||||
#[macro_use]
|
||||
#[allow(unsafe_code)]
|
||||
#[deny(missing_docs)]
|
||||
pub mod properties {
|
||||
include!(concat!(env!("OUT_DIR"), "/properties.rs"));
|
||||
}
|
||||
pub mod properties;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
#[allow(unsafe_code)]
|
||||
|
@ -181,12 +174,6 @@ pub mod gecko;
|
|||
#[allow(unsafe_code)]
|
||||
pub mod servo;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
#[allow(unsafe_code, missing_docs)]
|
||||
pub mod gecko_properties {
|
||||
include!(concat!(env!("OUT_DIR"), "/gecko_properties.rs"));
|
||||
}
|
||||
|
||||
macro_rules! reexport_computed_values {
|
||||
( $( { $name: ident } )+ ) => {
|
||||
/// Types for [computed values][computed].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue