We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d217d9 commit f4a3a3bCopy full SHA for f4a3a3b
doc/tutorial/ffi.md
@@ -196,9 +196,8 @@ microsecond-resolution timer.
196
ret (x.tv_sec as u64) * 1000_000_u64 + (x.tv_usec as u64);
197
}
198
199
-The `#[nolink]` sets the name of the native module to the
200
-empty string to prevent the rust compiler from trying to link it.
201
-The standard C library is already linked with Rust programs.
+The `#[nolink]` attribute indicates that there's no native library to link
+in. The standard C library is already linked with Rust programs.
202
203
A `timeval`, in C, is a struct with two 32-bit integers. Thus, we
204
define a record type with the same contents, and declare
0 commit comments