summaryrefslogtreecommitdiff
path: root/tests/src/args.rs
diff options
context:
space:
mode:
authorIan Wrzesinski <wrzian@umich.edu>2024-09-22 17:38:38 -0400
committerIan Wrzesinski <wrzian@umich.edu>2024-10-31 18:26:12 -0400
commita2761ab75ac4038edff8be1c4dc66b3770e74d38 (patch)
tree6a540ae17b3649eb42a8d655337bbc0f8ca9155a /tests/src/args.rs
parentda83f33c4c015f927920b437610153c029c8291b (diff)
2. Allow compiling test-runner with only typst_syntax
Diffstat (limited to 'tests/src/args.rs')
-rw-r--r--tests/src/args.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/args.rs b/tests/src/args.rs
index e94986ce..db5d1a9b 100644
--- a/tests/src/args.rs
+++ b/tests/src/args.rs
@@ -66,6 +66,10 @@ pub struct CliArguments {
/// This overrides the normal testing system. It parses, but does not run
/// the test suite.
///
+ /// If `cargo test` is run with `--no-default-features`, then compiling will
+ /// not include Typst's core crates, only typst-syntax, greatly speeding up
+ /// debugging when changing the parser.
+ ///
/// You can generate a correct reference directory by running on a known
/// good commit and copying the generated outputs to a new directory.
/// `_things` may be a good location as it is in the top-level gitignore.