summaryrefslogtreecommitdiffstats
path: root/software
diff options
context:
space:
mode:
Diffstat (limited to 'software')
-rw-r--r--software/rust.page3
1 files changed, 3 insertions, 0 deletions
diff --git a/software/rust.page b/software/rust.page
index 404f8b9..af5ea3a 100644
--- a/software/rust.page
+++ b/software/rust.page
@@ -18,3 +18,6 @@ For local rust/std documentation, do `rustup doc`.
Run tests with stdout output:
cargo test -- --nocapture
+
+To run tests with logging enabled (eg, with `env_logger`), make sure you add
+`env_logger::init()` to the test function itself.