Skip to content

Commit

Permalink
Add a trivial function in core test
Browse files Browse the repository at this point in the history
To ensure that we don't accidentaly not verify that chrono compiles for core.
  • Loading branch information
quodlibetor committed Sep 13, 2019
1 parent 4027bbb commit 5e1e2d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/core-test/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
#![no_std]

use chrono::{TimeZone, Utc};

pub fn create_time() {
let _ = Utc.ymd(2019, 1, 1).and_hms(0, 0, 0);
}

0 comments on commit 5e1e2d5

Please sign in to comment.