Skip to content

Commit

Permalink
Merge pull request #568 from orion78fr/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Milo123459 committed Oct 30, 2021
2 parents fea3392 + e0656ac commit f6bd567
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -18,6 +18,7 @@ Versions with only mechanical changes will be omitted from the following list.
* Fix `DurationRound` is not TZ aware (#495)
* Implement `DurationRound` for `NaiveDateTime`
* Add `DateTime::from_local()` to construct from given local date and time (#572)
* Correct build for wasm32-unknown-emscripten target (#568)

## 0.4.19

Expand Down
4 changes: 2 additions & 2 deletions src/sys.rs
Expand Up @@ -20,11 +20,11 @@ use std::time::{SystemTime, UNIX_EPOCH};
#[path = "sys/stub.rs"]
mod inner;

#[cfg(unix)]
#[cfg(all(unix, not(target_arch = "wasm32"), not(target_env = "sgx")))]
#[path = "sys/unix.rs"]
mod inner;

#[cfg(windows)]
#[cfg(all(windows, not(target_arch = "wasm32"), not(target_env = "sgx")))]
#[path = "sys/windows.rs"]
mod inner;

Expand Down

0 comments on commit f6bd567

Please sign in to comment.