Skip to content

Commit 78b7469

Browse files
committed
Enable tracing if formality is run via the binary
1 parent 14d2157 commit 78b7469

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ formality-rust = { version = "0.1.0", path = "crates/formality-rust" }
2222
formality-types = { version = "0.1.0", path = "crates/formality-types" }
2323
formality-check = { version = "0.1.0", path = "crates/formality-check" }
2424
formality-prove = { version = "0.1.0", path = "crates/formality-prove" }
25+
formality-core = { version = "0.1.0", path = "crates/formality-core" }
2526
ui_test = "0.12"
2627

2728
[workspace]

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
fn main() -> anyhow::Result<()> {
2-
formality::main()
2+
formality_core::with_tracing_logs(|| formality::main())
33
}

0 commit comments

Comments
 (0)