summaryrefslogtreecommitdiff
path: root/crates/typst-cli/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-cli/src')
-rw-r--r--crates/typst-cli/src/compile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/compile.rs b/crates/typst-cli/src/compile.rs
index 9eec36cb..48d6401c 100644
--- a/crates/typst-cli/src/compile.rs
+++ b/crates/typst-cli/src/compile.rs
@@ -153,7 +153,7 @@ fn export_pdf(
world: &SystemWorld,
) -> StrResult<()> {
let ident = world.input().to_string_lossy();
- let buffer = typst::export::pdf(document, Some(&ident), now());
+ let buffer = typst_pdf::pdf(document, Some(&ident), now());
let output = command.output();
fs::write(output, buffer)
.map_err(|err| eco_format!("failed to write PDF file ({err})"))?;