mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-11 00:08:13 -05:00
feat: instrumentation profile
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
[alias]
|
||||
docs = "doc --workspace --all-features --no-deps"
|
||||
|
||||
[unstable]
|
||||
# `instrumentation` profile requires unstable `profile-rustflags` feature
|
||||
profile-rustflags = true
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = [
|
||||
# Increases the stack size to 10MB, which is
|
||||
|
||||
@@ -274,6 +274,11 @@ inherits = "release"
|
||||
debug = 2
|
||||
strip = false
|
||||
|
||||
# `instrumentation` profile enables unstable tokio features
|
||||
[profile.instrumentation]
|
||||
inherits = "profiling"
|
||||
rustflags = ["--cfg", "tokio_unstable"]
|
||||
|
||||
# Make sure debug symbols are in the bench profile
|
||||
[profile.bench]
|
||||
inherits = "profiling"
|
||||
|
||||
Reference in New Issue
Block a user