Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
[env]
RUST_TEST_THREADS = "1"

# [build]
# rustc-wrapper = "sccache" # 取消注释以启用 sccache(需先安装: cargo install sccache)
# 或在 shell 中设置环境变量: RUSTC_WRAPPER=sccache cargo build

# [registries.crates-io]
# protocol = "sparse"
# protocol = "sparse" is default in Rust 1.70+
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ predicates = "3"

[profile.dev]
opt-level = 1
incremental = false

[profile.release]
lto = true
Expand Down
Loading