fix refering uninit static, use upstream rocksdb again, don't compile debug info
even rust-analyzer themselves don't compile with debug info because it makes cargo checks and builds in general a lot longer. helps speed things up and we mainly care about panics/stacktraces and compiler errors. https://github.com/rust-lang/rust-analyzer/blob/master/Cargo.toml#L12-L15 upstream rust-rocksdb is active again finally Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
4d52dd2f44
commit
d9d1ce3cb5
3 changed files with 19 additions and 18 deletions
|
@ -88,7 +88,7 @@ heed = { git = "https://github.com/timokoesters/heed.git", rev = "f6f825da7fb2c7
|
|||
# Used for ruma wrapper
|
||||
serde_html_form = "0.2.2"
|
||||
|
||||
rocksdb = { git = "https://github.com/girlbossceo/rust-rocksdb", rev = "eaa2beedb1f36466a52ca01ffbf3a2118b2cb41b", default-features = false, features = ["multi-threaded-cf", "snappy", "lz4", "zstd"], optional = true }
|
||||
rocksdb = { git = "https://github.com/rust-rocksdb/rust-rocksdb", rev = "30ffe0ad78a037694eb3e834ac0afc436eea4ebf", default-features = false, features = ["multi-threaded-cf", "snappy", "lz4", "zstd"], optional = true }
|
||||
|
||||
thread_local = "1.1.7"
|
||||
# used for TURN server authentication
|
||||
|
@ -164,6 +164,7 @@ maintainer-scripts = "debian/"
|
|||
systemd-units = { unit-name = "matrix-conduit" }
|
||||
|
||||
[profile.dev]
|
||||
debug = 0
|
||||
lto = 'off'
|
||||
incremental = true
|
||||
|
||||
|
@ -175,13 +176,16 @@ opt-level = 3
|
|||
overflow-checks = true
|
||||
strip = "symbols"
|
||||
panic = "abort"
|
||||
debug = 0
|
||||
# If you want to make flamegraphs, enable debug info:
|
||||
# debug = true
|
||||
|
||||
# For releases also try to max optimizations for dependencies:
|
||||
[profile.release.build-override]
|
||||
debug = 0
|
||||
opt-level = 3
|
||||
codegen-units=1
|
||||
[profile.release.package."*"]
|
||||
debug = 0
|
||||
opt-level = 3
|
||||
codegen-units=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue