Browse Source

switch to env var for enabling ruma exhaustive types

this is more reliable than rustflags, since if RUST_FLAGS is set, then this setting would be ignored
merge-requests/724/merge
Matthias Ahouansou 1 year ago
parent
commit
0d8a4f4d10
No known key found for this signature in database
  1. 4
      .cargo/config.toml

4
.cargo/config.toml

@ -1,2 +1,2 @@
[build]
rustflags = ["--cfg=ruma_unstable_exhaustive_types"]
[env]
RUMA_UNSTABLE_EXHAUSTIVE_TYPES = "1"

Loading…
Cancel
Save