1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-04-22 14:10:16 +03:00

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
This commit is contained in:
Matthias Ahouansou 2025-03-15 00:31:47 +00:00
parent d0607b6459
commit 0d8a4f4d10
No known key found for this signature in database

View file

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