1
0
mirror of https://github.com/uutils/coreutils synced 2024-07-08 19:56:10 +00:00

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