be consistent in the rustflag declaration

This commit is contained in:
Sylvestre Ledru 2022-05-23 15:22:08 +02:00
parent c818ca0039
commit c810a5e051

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"]