From 5e1e2d5633da23fb379e0b5b2b06542632eeadec Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Fri, 13 Sep 2019 14:50:14 -0400 Subject: [PATCH] Add a trivial function in core test To ensure that we don't accidentaly not verify that chrono compiles for core. --- ci/core-test/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/core-test/src/lib.rs b/ci/core-test/src/lib.rs index 0c9ac1a..e311edb 100644 --- a/ci/core-test/src/lib.rs +++ b/ci/core-test/src/lib.rs @@ -1 +1,7 @@ #![no_std] + +use chrono::{TimeZone, Utc}; + +pub fn create_time() { + let _ = Utc.ymd(2019, 1, 1).and_hms(0, 0, 0); +}