Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

rustix

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rustix - npm Package Compare versions

Comparing version
1.0.4
to
1.0.5
+1
-1
.cargo_vcs_info.json
{
"git": {
"sha1": "199794075009b94e317aae3bc22d26f9ae1d3fcd"
"sha1": "cb01fbe4660844b67fdd4eee2a5f769518f6a655"
},
"path_in_vcs": ""
}

@@ -162,2 +162,3 @@ use std::env::var;

|| os == "android"
|| (os == "freebsd" && arch == "x86")
|| os == "haiku"

@@ -164,0 +165,0 @@ || env == "gnu"

@@ -665,3 +665,3 @@ # This file is automatically @generated by Cargo.

name = "rustix"
version = "1.0.4"
version = "1.0.5"
dependencies = [

@@ -668,0 +668,0 @@ "bitflags 2.9.0",

@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO

name = "rustix"
version = "1.0.4"
version = "1.0.5"
authors = [

@@ -19,0 +19,0 @@ "Dan Gohman <dev@sunfishcode.online>",

@@ -82,8 +82,13 @@ //! Filesystem API constants, translated into `bitflags` constants.

// Ensure that seconds fields are 64-bit.
let some_stat: Stat = unsafe { core::mem::zeroed() };
assert_eq!(some_stat.st_atime, 0_i64);
assert_eq!(some_stat.st_mtime, 0_i64);
assert_eq!(some_stat.st_ctime, 0_i64);
// Ensure that seconds fields are 64-bit on non-y2038-bug platforms, and
// on Linux where we use statx.
#[cfg(any(linux_kernel, not(fix_y2038)))]
{
assert_eq!(some_stat.st_atime, 0_i64);
assert_eq!(some_stat.st_mtime, 0_i64);
assert_eq!(some_stat.st_ctime, 0_i64);
}
// Ensure that file offsets are 64-bit.

@@ -90,0 +95,0 @@ assert_eq!(some_stat.st_size, 0_i64);

Sorry, the diff of this file is not supported yet