We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e8b632 + 1c0db45 commit ebee724Copy full SHA for ebee724
std/src/fs.rs
@@ -1343,6 +1343,9 @@ impl Seek for Arc<File> {
1343
fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
1344
(&**self).seek(pos)
1345
}
1346
+ fn stream_position(&mut self) -> io::Result<u64> {
1347
+ (&**self).stream_position()
1348
+ }
1349
1350
1351
impl OpenOptions {
std/src/sys/random/trusty.rs
@@ -1,4 +1,4 @@
1
-extern "C" {
+unsafe extern "C" {
2
fn trusty_rng_secure_rand(randomBuffer: *mut core::ffi::c_void, randomBufferLen: libc::size_t);
3
4
0 commit comments