Add a trivial function in core test
To ensure that we don't accidentaly not verify that chrono compiles for core.
This commit is contained in:
parent
4027bbb66d
commit
5e1e2d5633
|
@ -1 +1,7 @@
|
|||
#![no_std]
|
||||
|
||||
use chrono::{TimeZone, Utc};
|
||||
|
||||
pub fn create_time() {
|
||||
let _ = Utc.ymd(2019, 1, 1).and_hms(0, 0, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue