mozilla/rust — pull request #5849 by thestinger (2013-04-12 04:07:23+00:00)
Title: rewrite the ffi tutorial with snappy as an example

The example with OpenSSL is incorrect, because OpenSSL is using a
static variable for the return value and isn't thread-safe.

The gettimeofday example is specific to POSIX systems so it's not ideal.