Skip to content

Commit

Permalink
fix: cant override profiles outside of cargo workspace toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Aug 14, 2024
1 parent 9031c1a commit 9f78685
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/bitwarden-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ reqwest = { version = ">=0.12.5, <0.13", features = [
], default-features = false }
rustls-platform-verifier = "0.3.1"

[target.'cfg(all(target_os = "windows"))'.profile.release]
lto = false

[target.'cfg(target_os = "android")'.dependencies]
# On android, the use of rustls-platform-verifier is more complicated and going through some changes at the moment, so we fall back to using webpki-roots
# This means that for the moment android won't support self-signed certificates, even if they are included in the OS trust store
Expand Down
3 changes: 3 additions & 0 deletions crates/bitwarden-core/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[target.'cfg(all(target_os = "windows"))'.profile.release]
lto = false
codegen-units = 16

0 comments on commit 9f78685

Please sign in to comment.