mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
04b273259e
First, we generate StyleComputedTimingFunction by cbindgen from Rust, and use it in nsTimingFunction, so we could copy it directly without handling the different memory layout. However, we have to rewrite the nsTimingFunction and mozilla::ComputedTimingFunction for this. Second, the rust-bindgen seems cannot generate the correct generic members from complex C++ templates, especially for the nested template struct, (https://github.com/rust-lang-nursery/rust-bindgen/issues/1429) So we have to hide StyleTimingFunction to avoid the compilation errors. Depends on D9312 Differential Revision: https://phabricator.services.mozilla.com/D9313 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
Cargo.toml | ||
error_reporter.rs | ||
glue.rs | ||
lib.rs | ||
stylesheet_loader.rs |