Haitao Li
f4eb25e0d0
tutorial: Fix type mismatch in example FFI code
Compile error:
time.rs:13:23: 13:43 error: mismatched types: expected
*R[tv_sec=mMltv_usec=mMl] but found *R[tv_sec=Mltv_usec=Ml] (record
elements differ in mutability)
time.rs:13 libc::gettimeofday(std::ptr::addr_of(x),
std::ptr::null());
^~~~~~~~~~~~~~~~~~~~
error: aborting due to previous errors
rust: upcall fail 'explicit failure', ../src/comp/driver/session.rs:70
rust: domain main @0x9dfd178 root task failed
2011-11-17 22:50:08 +08:00
..
2011-11-02 13:49:37 +01:00
2011-11-01 17:35:18 +01:00
2011-11-01 15:41:14 +01:00
2011-11-01 14:47:13 +01:00
2011-11-01 15:41:14 +01:00
2011-11-02 13:27:29 +01:00
2011-11-17 22:50:08 +08:00
2011-11-02 13:49:37 +01:00
2011-11-01 15:41:14 +01:00
2011-11-01 14:38:55 +01:00
2011-11-16 08:51:59 +01:00
2011-11-01 22:11:55 +01:00
2011-11-02 13:27:29 +01:00
2011-11-01 15:41:14 +01:00
2011-11-16 15:02:00 -08:00
2011-11-01 14:38:55 +01:00
2011-11-04 12:23:35 +01:00