diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typeset.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs index 59eb008f..3e83fcb5 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -16,12 +16,15 @@ use typst::eval::{eval, Scope, Value}; use typst::exec::{exec, State}; use typst::geom::{self, Length, PathElement, Point, Sides, Size}; use typst::image::ImageId; -use typst::layout::{layout, Element, Frame, Geometry, LayoutTree, Paint, Text}; +use typst::layout::{layout, Element, Frame, Geometry, Paint, Text}; use typst::loading::{FileId, FsLoader}; use typst::parse::{parse, LineMap, Scanner}; use typst::syntax::{Location, Pos}; use typst::Context; +#[cfg(feature = "layout-cache")] +use typst::layout::LayoutTree; + const TYP_DIR: &str = "./typ"; const REF_DIR: &str = "./ref"; const PNG_DIR: &str = "./png"; |
