0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 13:18:54 +01:00
The Rust compiler https://www.rust-lang.org/
Go to file
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
doc tutorial: Fix type mismatch in example FFI code 2011-11-17 22:50:08 +08:00
man rustc: Add a flag '--warn-unused-imports' 2011-11-17 09:28:30 +01:00
mk Revert "rt: More work on morestack" 2011-11-16 18:49:19 -08:00
src rustc: Add a flag '--warn-unused-imports' 2011-11-17 09:28:30 +01:00
.gitignore Update to libuv commit 3ca382. 2011-09-23 16:53:06 -07:00
.gitmodules Re-add libuv as a submodule. 2011-11-08 19:01:47 -08:00
AUTHORS.txt Add Stefan Plantikow to AUTHORS.txt 2011-11-15 18:04:37 -08:00
configure Various fixes for x86_64 on linux 2011-11-16 15:24:56 -08:00
LICENSE.txt Add libuv license info to LICENSE.txt 2011-08-09 12:00:00 -07:00
Makefile.in Removed --no-typestate flag from rutsc 2011-11-16 18:52:46 -08:00
README Switch URLs. 2011-09-20 16:27:08 -07:00

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://www.rust-lang.org for more information.