Merge pull request #3562 from sylvestre/consistency

be consistent in the rustflag declaration
This commit is contained in:
Terts Diepraam
2022-05-25 13:15:09 +02:00
committed by GitHub
+1 -1
View File
@@ -14,7 +14,7 @@ rustflags = [
# See https://github.com/time-rs/time/issues/293#issuecomment-1005002386. The
# unsoundness here is not in the `time` library, but in the Rust stdlib, and as
# such it needs to be fixed there.
rustflags = "--cfg unsound_local_offset"
rustflags = ["--cfg", "unsound_local_offset"]
[target.'cfg(target_os = "linux")']
rustflags = ["--cfg", "unsound_local_offset"]